Searched refs:rebind_alloc (Results 1 – 5 of 5) sorted by relevance
/external/libcxx/test/std/utilities/memory/allocator.traits/allocator.traits.types/ |
D | rebind_alloc.pass.cpp | 67 …static_assert((std::is_same<std::allocator_traits<A<char> >::rebind_alloc<double>, ReboundA<double… in main() 68 …static_assert((std::is_same<std::allocator_traits<B<int, char> >::rebind_alloc<double>, ReboundB<d… in main() 69 …static_assert((std::is_same<std::allocator_traits<C<char> >::rebind_alloc<double>, C<double> >::va… in main() 70 …static_assert((std::is_same<std::allocator_traits<D<int, char> >::rebind_alloc<double>, D<double, … in main() 71 …static_assert((std::is_same<std::allocator_traits<E<char> >::rebind_alloc<double>, E<double> >::va… in main() 73 …static_assert((std::is_same<std::allocator_traits<A<char> >::rebind_alloc<double>::other, ReboundA… in main() 74 …static_assert((std::is_same<std::allocator_traits<B<int, char> >::rebind_alloc<double>::other, Reb… in main() 75 …static_assert((std::is_same<std::allocator_traits<C<char> >::rebind_alloc<double>::other, C<double… in main() 76 …static_assert((std::is_same<std::allocator_traits<D<int, char> >::rebind_alloc<double>::other, D<d… in main() 77 …static_assert((std::is_same<std::allocator_traits<E<char> >::rebind_alloc<double>::other, E<double… in main()
|
/external/clang/test/SemaCXX/ |
D | PR9902.cpp | 19 template <class T> using rebind_alloc = typename __allocator_traits_rebind<Alloc, T>::type; typedef 20 template <class T> using rebind_traits = allocator_traits<rebind_alloc<T>>; 28 allocator_traits<allocator<char>>::rebind_alloc<int> a; in main()
|
D | PR9908.cpp | 14 template <class T> using rebind_alloc = typename typedef 16 template <class T> using rebind_traits = allocator_traits<rebind_alloc<T>>;
|
/external/libcxx/include/ |
D | scoped_allocator | 47 OuterTraits::template rebind_alloc<Tp>, InnerAllocs...> other; 428 typename _OuterTraits::template rebind_alloc<_Tp>, _InnerAllocs...
|
D | memory | 81 template <class T> using rebind_alloc = Alloc::rebind<U>::other | Alloc<T, Args...>; 82 template <class T> using rebind_traits = allocator_traits<rebind_alloc<T>>; 1467 template <class _Tp> using rebind_alloc = 1469 template <class _Tp> using rebind_traits = allocator_traits<rebind_alloc<_Tp>>; 1471 template <class _Tp> struct rebind_alloc 1474 {typedef allocator_traits<typename rebind_alloc<_Tp>::other> other;}; 1688 typedef typename _Traits::template rebind_alloc<_Tp> type; 1690 typedef typename _Traits::template rebind_alloc<_Tp>::other type;
|