Displaying 8 results from an estimated 8 matches for "__is_assignable_imp".
2012 Sep 27
4
[LLVMdev] Clang bug?
...template arguments into function template
'__is_assignable_test' [with _Tp = Templ8<int>::Member *&, _Arg = <no
value>]
__is_assignable_test(_Tp&&, _Arg&&);
^
/usr/bin/../lib/c++/v1/type_traits:1214:14: note: in instantiation of
template class 'std::__1::__is_assignable_imp<Templ8<int>::Member *&,
Templ8<int>::Member *&, false>' requested here
: public __is_assignable_imp<_Tp, _Arg> {};
^
/usr/bin/../lib/c++/v1/type_traits:2616:38: note: in instantiation of
template class 'std::__1::is_assignable<Templ8<in...
2012 Sep 28
0
[LLVMdev] Clang bug?
...ion template
> '__is_assignable_test' [with _Tp = Templ8<int>::Member *&, _Arg = <no
> value>]
> __is_assignable_test(_Tp&&, _Arg&&);
> ^
> /usr/bin/../lib/c++/v1/type_traits:1214:14: note: in instantiation of
> template class 'std::__1::__is_assignable_imp<Templ8<int>::Member *&,
> Templ8<int>::Member *&, false>' requested here
> : public __is_assignable_imp<_Tp, _Arg> {};
> ^
> /usr/bin/../lib/c++/v1/type_traits:2616:38: note: in instantiation of
> template class 'std::__1::is_ass...
2012 Sep 28
4
[LLVMdev] Clang bug?
...is_assignable_test' [with _Tp = Templ8<int>::Member *&, _Arg = <no
> > value>]
> > __is_assignable_test(_Tp&&, _Arg&&);
> > ^
> > /usr/bin/../lib/c++/v1/type_traits:1214:14: note: in instantiation of
> > template class 'std::__1::__is_assignable_imp<Templ8<int>::Member *&,
> > Templ8<int>::Member *&, false>' requested here
> > : public __is_assignable_imp<_Tp, _Arg> {};
> > ^
> > /usr/bin/../lib/c++/v1/type_traits:2616:38: note: in instantiation of
> > template cl...
2012 Sep 29
0
[LLVMdev] Clang bug?
...39; [with _Tp = Templ8<int>::Member *&, _Arg = <no
>> > value>]
>> > __is_assignable_test(_Tp&&, _Arg&&);
>> > ^
>> > /usr/bin/../lib/c++/v1/type_traits:1214:14: note: in instantiation of
>> > template class 'std::__1::__is_assignable_imp<Templ8<int>::Member *&,
>> > Templ8<int>::Member *&, false>' requested here
>> > : public __is_assignable_imp<_Tp, _Arg> {};
>> > ^
>> > /usr/bin/../lib/c++/v1/type_traits:2616:38: note: in instantiation of
>&...
2012 Sep 29
2
[LLVMdev] Clang bug?
...t;() = _VSTD::declval<_Arg>(), true_type()))
+typename __select_2nd<decltype(_VSTD::declval<_Tp>() =
_VSTD::declval<_Arg>()), true_type>::type
#ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES
__is_assignable_test(_Tp&&, _Arg&&);
#else
@@ -1209,7 +1214,7 @@
struct __is_assignable_imp
: public common_type
<
- decltype(__is_assignable_test(declval<_Tp>(), declval<_Arg>()))
+ decltype(_VSTD::__is_assignable_test(declval<_Tp>(),
declval<_Arg>()))
>::type {};
template <class _Tp, class _Arg>
I don...
2012 Sep 29
0
[LLVMdev] Clang bug?
...gt;(), true_type()))
> +typename __select_2nd<decltype(_VSTD::declval<_Tp>() = _VSTD::declval<_Arg>()), true_type>::type
> #ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES
> __is_assignable_test(_Tp&&, _Arg&&);
> #else
> @@ -1209,7 +1214,7 @@
> struct __is_assignable_imp
> : public common_type
> <
> - decltype(__is_assignable_test(declval<_Tp>(), declval<_Arg>()))
> + decltype(_VSTD::__is_assignable_test(declval<_Tp>(), declval<_Arg>()))
> >::type {};
>
> template <...
2012 Sep 29
1
[LLVMdev] Clang bug?
...;int>::Member *&, _Arg = <no
> >> > value>]
> >> > __is_assignable_test(_Tp&&, _Arg&&);
> >> > ^
> >> > /usr/bin/../lib/c++/v1/type_traits:1214:14: note: in instantiation of
> >> > template class 'std::__1::__is_assignable_imp<Templ8<int>::Member *&,
> >> > Templ8<int>::Member *&, false>' requested here
> >> > : public __is_assignable_imp<_Tp, _Arg> {};
> >> > ^
> >> > /usr/bin/../lib/c++/v1/type_traits:2616:38: note: in in...
2012 Sep 29
0
[LLVMdev] Clang bug?
On Sep 28, 2012, at 5:54 PM, Richard Smith <richard at metafoo.co.uk> wrote:
> Reduced testcase:
>
> template<typename T> struct A { typedef decltype(T() + 0) type; };
> template<typename T> struct B {
> struct C { typedef typename A<C*>::type type; };
> typedef typename A<C*>::type type;
> };
> B<int> b;
>
> ... produces ...