Searched refs:pointer_traits (Results 1 - 11 of 11) sorted by relevance
/external/libcxx/test/std/utilities/memory/pointer.traits/ |
H A D | pointer_to.pass.cpp | 13 // struct pointer_traits<T*> 26 int* a = std::pointer_traits<int*>::pointer_to(i); 30 (std::pointer_traits<void*>::element_type)0;
|
H A D | rebind.pass.cpp | 13 // struct pointer_traits<T*> 25 static_assert((std::is_same<std::pointer_traits<int*>::rebind<double>, double*>::value), ""); 27 static_assert((std::is_same<std::pointer_traits<int*>::rebind<double>::other, double*>::value), "");
|
H A D | element_type.pass.cpp | 13 // struct pointer_traits<T*> 24 static_assert((std::is_same<std::pointer_traits<const short*>::element_type, const short>::value), "");
|
H A D | difference_type.pass.cpp | 13 // struct pointer_traits<T*> 24 static_assert((std::is_same<std::pointer_traits<double*>::difference_type, std::ptrdiff_t>::value), "");
|
H A D | pointer.pass.cpp | 13 // struct pointer_traits 30 static_assert((std::is_same<std::pointer_traits<A>::pointer, A>::value), ""); 31 static_assert((std::is_same<std::pointer_traits<int*>::pointer, int*>::value), "");
|
/external/libcxx/test/std/utilities/memory/pointer.traits/pointer.traits.types/ |
H A D | difference_type.pass.cpp | 13 // struct pointer_traits 44 static_assert((std::is_same<std::pointer_traits<A>::difference_type, char>::value), ""); 45 static_assert((std::is_same<std::pointer_traits<B>::difference_type, std::ptrdiff_t>::value), ""); 46 static_assert((std::is_same<std::pointer_traits<C<double> >::difference_type, std::ptrdiff_t>::value), ""); 47 static_assert((std::is_same<std::pointer_traits<D<int> >::difference_type, char>::value), "");
|
H A D | element_type.pass.cpp | 13 // struct pointer_traits 45 static_assert((std::is_same<std::pointer_traits<A>::element_type, char>::value), ""); 46 static_assert((std::is_same<std::pointer_traits<B<int> >::element_type, char>::value), ""); 47 static_assert((std::is_same<std::pointer_traits<C<int> >::element_type, int>::value), ""); 48 static_assert((std::is_same<std::pointer_traits<D<double, int> >::element_type, double>::value), "");
|
H A D | rebind.pass.cpp | 13 // struct pointer_traits 59 static_assert((std::is_same<std::pointer_traits<A<int*> >::rebind<double*>, A<double*> >::value), ""); 60 static_assert((std::is_same<std::pointer_traits<B<int> >::rebind<double>, B1<double> >::value), ""); 61 static_assert((std::is_same<std::pointer_traits<C<char, int> >::rebind<double>, C<double, int> >::value), ""); 62 static_assert((std::is_same<std::pointer_traits<D<char, int> >::rebind<double>, D1<double, int> >::value), ""); 64 static_assert((std::is_same<std::pointer_traits<A<int*> >::rebind<double*>::other, A<double*> >::value), ""); 65 static_assert((std::is_same<std::pointer_traits<B<int> >::rebind<double>::other, B1<double> >::value), ""); 66 static_assert((std::is_same<std::pointer_traits<C<char, int> >::rebind<double>::other, C<double, int> >::value), ""); 67 static_assert((std::is_same<std::pointer_traits<D<char, int> >::rebind<double>::other, D1<double, int> >::value), "");
|
/external/libcxx/test/std/utilities/memory/pointer.traits/pointer.traits.functions/ |
H A D | pointer_to.pass.cpp | 13 // struct pointer_traits 42 A<int> a = std::pointer_traits<A<int> >::pointer_to(i); 46 (std::pointer_traits<A<void> >::element_type)0;
|
/external/libcxx/test/std/utilities/memory/allocator.traits/allocator.traits.types/ |
H A D | difference_type.pass.cpp | 16 // | pointer_traits<pointer>::difference_type difference_type; 50 struct pointer_traits<C<char>::pointer> struct in namespace:std
|
H A D | size_type.pass.cpp | 49 struct pointer_traits<C<char>::pointer> struct in namespace:std
|
Completed in 133 milliseconds