HomeSort by relevance Sort by last modified time
    Searched refs:allocator_traits (Results 1 - 25 of 85) sorted by null

1 2 3 4

  /external/libcxx/test/utilities/memory/allocator.traits/
rebind_traits.pass.cpp 13 // struct allocator_traits
15 // template <class T> using rebind_traits = allocator_traits<rebind_alloc<T>>;
67 static_assert((std::is_same<std::allocator_traits<A<char> >::rebind_traits<double>, std::allocator_traits<ReboundA<double> > >::value), "");
68 static_assert((std::is_same<std::allocator_traits<B<int, char> >::rebind_traits<double>, std::allocator_traits<ReboundB<double, char> > >::value), "");
69 static_assert((std::is_same<std::allocator_traits<C<char> >::rebind_traits<double>, std::allocator_traits<C<double> > >::value), "");
70 static_assert((std::is_same<std::allocator_traits<D<int, char> >::rebind_traits<double>, std::allocator_traits<D<double, char> > >::value), "")
    [all...]
allocator_type.pass.cpp 13 // struct allocator_traits
30 static_assert((std::is_same<std::allocator_traits<A<char> >::allocator_type, A<char> >::value), "");
value_type.pass.cpp 13 // struct allocator_traits
30 static_assert((std::is_same<std::allocator_traits<A<char> >::value_type, char>::value), "");
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/allocator.traits/
rebind_traits.pass.cpp 13 // struct allocator_traits
15 // template <class T> using rebind_traits = allocator_traits<rebind_alloc<T>>;
67 static_assert((std::is_same<std::allocator_traits<A<char> >::rebind_traits<double>, std::allocator_traits<ReboundA<double> > >::value), "");
68 static_assert((std::is_same<std::allocator_traits<B<int, char> >::rebind_traits<double>, std::allocator_traits<ReboundB<double, char> > >::value), "");
69 static_assert((std::is_same<std::allocator_traits<C<char> >::rebind_traits<double>, std::allocator_traits<C<double> > >::value), "");
70 static_assert((std::is_same<std::allocator_traits<D<int, char> >::rebind_traits<double>, std::allocator_traits<D<double, char> > >::value), "")
    [all...]
allocator_type.pass.cpp 13 // struct allocator_traits
30 static_assert((std::is_same<std::allocator_traits<A<char> >::allocator_type, A<char> >::value), "");
value_type.pass.cpp 13 // struct allocator_traits
30 static_assert((std::is_same<std::allocator_traits<A<char> >::value_type, char>::value), "");
  /external/clang/test/SemaCXX/
PR9902.cpp 17 struct allocator_traits struct
20 template <class T> using rebind_traits = allocator_traits<rebind_alloc<T>>;
28 allocator_traits<allocator<char>>::rebind_alloc<int> a;
PR9908.cpp 11 struct allocator_traits struct
16 template <class T> using rebind_traits = allocator_traits<rebind_alloc<T>>;
32 allocator_traits<A<char> >::rebind_traits<double> a;
  /external/libcxx/test/utilities/memory/allocator.traits/allocator.traits.members/
max_size.pass.cpp 13 // struct allocator_traits
47 assert(std::allocator_traits<A<int> >::max_size(a) ==
52 assert(std::allocator_traits<A<int> >::max_size(a) ==
58 assert(std::allocator_traits<B<int> >::max_size(b) == 100);
62 assert(std::allocator_traits<B<int> >::max_size(b) == 100);
67 static_assert(noexcept(std::allocator_traits<std::allocator<int>>::max_size(a)) == true, "");
select_on_container_copy_construction.pass.cpp 13 // struct allocator_traits
52 assert(std::allocator_traits<A<int> >::select_on_container_copy_construction(a).id == 0);
56 assert(std::allocator_traits<A<int> >::select_on_container_copy_construction(a).id == 0);
61 assert(std::allocator_traits<B<int> >::select_on_container_copy_construction(b).id == 100);
65 assert(std::allocator_traits<B<int> >::select_on_container_copy_construction(b).id == 100);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/allocator.traits/allocator.traits.members/
max_size.pass.cpp 13 // struct allocator_traits
47 assert(std::allocator_traits<A<int> >::max_size(a) ==
52 assert(std::allocator_traits<A<int> >::max_size(a) ==
58 assert(std::allocator_traits<B<int> >::max_size(b) == 100);
62 assert(std::allocator_traits<B<int> >::max_size(b) == 100);
67 static_assert(noexcept(std::allocator_traits<std::allocator<int>>::max_size(a)) == true, "");
select_on_container_copy_construction.pass.cpp 13 // struct allocator_traits
52 assert(std::allocator_traits<A<int> >::select_on_container_copy_construction(a).id == 0);
56 assert(std::allocator_traits<A<int> >::select_on_container_copy_construction(a).id == 0);
61 assert(std::allocator_traits<B<int> >::select_on_container_copy_construction(b).id == 100);
65 assert(std::allocator_traits<B<int> >::select_on_container_copy_construction(b).id == 100);
  /external/libcxx/test/utilities/memory/allocator.traits/allocator.traits.types/
rebind_alloc.pass.cpp 13 // struct allocator_traits
67 static_assert((std::is_same<std::allocator_traits<A<char> >::rebind_alloc<double>, ReboundA<double> >::value), "");
68 static_assert((std::is_same<std::allocator_traits<B<int, char> >::rebind_alloc<double>, ReboundB<double, char> >::value), "");
69 static_assert((std::is_same<std::allocator_traits<C<char> >::rebind_alloc<double>, C<double> >::value), "");
70 static_assert((std::is_same<std::allocator_traits<D<int, char> >::rebind_alloc<double>, D<double, char> >::value), "");
71 static_assert((std::is_same<std::allocator_traits<E<char> >::rebind_alloc<double>, E<double> >::value), "");
73 static_assert((std::is_same<std::allocator_traits<A<char> >::rebind_alloc<double>::other, ReboundA<double> >::value), "");
74 static_assert((std::is_same<std::allocator_traits<B<int, char> >::rebind_alloc<double>::other, ReboundB<double, char> >::value), "");
75 static_assert((std::is_same<std::allocator_traits<C<char> >::rebind_alloc<double>::other, C<double> >::value), "");
76 static_assert((std::is_same<std::allocator_traits<D<int, char> >::rebind_alloc<double>::other, D<double, char> >::value), "")
    [all...]
const_pointer.pass.cpp 13 // struct allocator_traits
52 static_assert((std::is_same<std::allocator_traits<A<char> >::const_pointer, Ptr<const char> >::value), "");
53 static_assert((std::is_same<std::allocator_traits<B<char> >::const_pointer, const char*>::value), "");
54 static_assert((std::is_same<std::allocator_traits<C<char> >::const_pointer, CPtr<const char> >::value), "");
const_void_pointer.pass.cpp 13 // struct allocator_traits
52 static_assert((std::is_same<std::allocator_traits<A<char> >::const_void_pointer, Ptr<const void> >::value), "");
53 static_assert((std::is_same<std::allocator_traits<B<char> >::const_void_pointer, const void*>::value), "");
54 static_assert((std::is_same<std::allocator_traits<C<char> >::const_void_pointer, CPtr<const void> >::value), "");
difference_type.pass.cpp 13 // struct allocator_traits
59 static_assert((std::is_same<std::allocator_traits<A<char> >::difference_type, short>::value), "");
60 static_assert((std::is_same<std::allocator_traits<B<char> >::difference_type, std::ptrdiff_t>::value), "");
61 static_assert((std::is_same<std::allocator_traits<C<char> >::difference_type, signed char>::value), "");
size_type.pass.cpp 13 // struct allocator_traits
58 static_assert((std::is_same<std::allocator_traits<A<char> >::size_type, unsigned short>::value), "");
59 static_assert((std::is_same<std::allocator_traits<B<char> >::size_type,
61 static_assert((std::is_same<std::allocator_traits<C<char> >::size_type,
void_pointer.pass.cpp 13 // struct allocator_traits
52 static_assert((std::is_same<std::allocator_traits<A<char> >::void_pointer, Ptr<void> >::value), "");
53 static_assert((std::is_same<std::allocator_traits<B<char> >::void_pointer, void*>::value), "");
54 static_assert((std::is_same<std::allocator_traits<C<char> >::void_pointer, CPtr<void> >::value), "");
pointer.pass.cpp 13 // struct allocator_traits
40 static_assert((std::is_same<std::allocator_traits<A<char> >::pointer, Ptr<char> >::value), "");
41 static_assert((std::is_same<std::allocator_traits<B<char> >::pointer, char*>::value), "");
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/allocator.traits/allocator.traits.types/
rebind_alloc.pass.cpp 13 // struct allocator_traits
67 static_assert((std::is_same<std::allocator_traits<A<char> >::rebind_alloc<double>, ReboundA<double> >::value), "");
68 static_assert((std::is_same<std::allocator_traits<B<int, char> >::rebind_alloc<double>, ReboundB<double, char> >::value), "");
69 static_assert((std::is_same<std::allocator_traits<C<char> >::rebind_alloc<double>, C<double> >::value), "");
70 static_assert((std::is_same<std::allocator_traits<D<int, char> >::rebind_alloc<double>, D<double, char> >::value), "");
71 static_assert((std::is_same<std::allocator_traits<E<char> >::rebind_alloc<double>, E<double> >::value), "");
73 static_assert((std::is_same<std::allocator_traits<A<char> >::rebind_alloc<double>::other, ReboundA<double> >::value), "");
74 static_assert((std::is_same<std::allocator_traits<B<int, char> >::rebind_alloc<double>::other, ReboundB<double, char> >::value), "");
75 static_assert((std::is_same<std::allocator_traits<C<char> >::rebind_alloc<double>::other, C<double> >::value), "");
76 static_assert((std::is_same<std::allocator_traits<D<int, char> >::rebind_alloc<double>::other, D<double, char> >::value), "")
    [all...]
const_pointer.pass.cpp 13 // struct allocator_traits
52 static_assert((std::is_same<std::allocator_traits<A<char> >::const_pointer, Ptr<const char> >::value), "");
53 static_assert((std::is_same<std::allocator_traits<B<char> >::const_pointer, const char*>::value), "");
54 static_assert((std::is_same<std::allocator_traits<C<char> >::const_pointer, CPtr<const char> >::value), "");
const_void_pointer.pass.cpp 13 // struct allocator_traits
52 static_assert((std::is_same<std::allocator_traits<A<char> >::const_void_pointer, Ptr<const void> >::value), "");
53 static_assert((std::is_same<std::allocator_traits<B<char> >::const_void_pointer, const void*>::value), "");
54 static_assert((std::is_same<std::allocator_traits<C<char> >::const_void_pointer, CPtr<const void> >::value), "");
difference_type.pass.cpp 13 // struct allocator_traits
59 static_assert((std::is_same<std::allocator_traits<A<char> >::difference_type, short>::value), "");
60 static_assert((std::is_same<std::allocator_traits<B<char> >::difference_type, std::ptrdiff_t>::value), "");
61 static_assert((std::is_same<std::allocator_traits<C<char> >::difference_type, signed char>::value), "");
size_type.pass.cpp 13 // struct allocator_traits
58 static_assert((std::is_same<std::allocator_traits<A<char> >::size_type, unsigned short>::value), "");
59 static_assert((std::is_same<std::allocator_traits<B<char> >::size_type,
61 static_assert((std::is_same<std::allocator_traits<C<char> >::size_type,
void_pointer.pass.cpp 13 // struct allocator_traits
52 static_assert((std::is_same<std::allocator_traits<A<char> >::void_pointer, Ptr<void> >::value), "");
53 static_assert((std::is_same<std::allocator_traits<B<char> >::void_pointer, void*>::value), "");
54 static_assert((std::is_same<std::allocator_traits<C<char> >::void_pointer, CPtr<void> >::value), "");

Completed in 628 milliseconds

1 2 3 4