Searched refs:ReboundB (Results 1 - 2 of 2) sorted by relevance

/external/libcxx/test/utilities/memory/allocator.traits/allocator.traits.types/
H A Drebind_alloc.pass.cpp34 struct ReboundB {}; struct
41 template <class V> struct rebind {typedef ReboundB<V, U> other;};
68 static_assert((std::is_same<std::allocator_traits<B<int, char> >::rebind_alloc<double>, ReboundB<double, char> >::value), "");
74 static_assert((std::is_same<std::allocator_traits<B<int, char> >::rebind_alloc<double>::other, ReboundB<double, char> >::value), "");
/external/libcxx/test/utilities/memory/allocator.traits/
H A Drebind_traits.pass.cpp34 struct ReboundB {}; struct
41 template <class V> struct rebind {typedef ReboundB<V, U> other;};
68 static_assert((std::is_same<std::allocator_traits<B<int, char> >::rebind_traits<double>, std::allocator_traits<ReboundB<double, char> > >::value), "");
74 static_assert((std::is_same<std::allocator_traits<B<int, char> >::rebind_traits<double>::other, std::allocator_traits<ReboundB<double, char> > >::value), "");

Completed in 848 milliseconds