Home
last modified time | relevance | path

Searched refs:rebind_alloc (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/libcxx/test/std/utilities/memory/allocator.traits/allocator.traits.types/
H A Drebind_alloc.pass.cpp86 …static_assert((std::is_same<std::allocator_traits<A<char> >::rebind_alloc<double>, ReboundA<double… in main()
87 …static_assert((std::is_same<std::allocator_traits<B<int, char> >::rebind_alloc<double>, ReboundB<d… in main()
88 …static_assert((std::is_same<std::allocator_traits<C<char> >::rebind_alloc<double>, C<double> >::va… in main()
89 …static_assert((std::is_same<std::allocator_traits<D<int, char> >::rebind_alloc<double>, D<double, … in main()
90 …static_assert((std::is_same<std::allocator_traits<E<char> >::rebind_alloc<double>, E<double> >::va… in main()
91 …static_assert((std::is_same<std::allocator_traits<F<char> >::rebind_alloc<double>, F<double> >::va… in main()
92 …static_assert((std::is_same<std::allocator_traits<G<char> >::rebind_alloc<double>, G<double> >::va… in main()
94 …static_assert((std::is_same<std::allocator_traits<A<char> >::rebind_alloc<double>::other, ReboundA… in main()
96 …static_assert((std::is_same<std::allocator_traits<C<char> >::rebind_alloc<double>::other, C<double… in main()
97 …static_assert((std::is_same<std::allocator_traits<D<int, char> >::rebind_alloc<double>::other, D<d… in main()
[all …]
/llvm-project-15.0.7/clang/test/SemaCXX/
H A DPR9902.cpp19 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()
H A DPR9908.cpp14 template <class T> using rebind_alloc = typename typedef
16 template <class T> using rebind_traits = allocator_traits<rebind_alloc<T>>;
/llvm-project-15.0.7/clang/test/Frontend/
H A Dftime-report-template-decl.cpp142 using rebind_alloc = _Other; typedef
147 using rebind_alloc = typename Foo<_Alloc>::template rebind_alloc<_Other>; typedef
/llvm-project-15.0.7/libcxx/include/__memory/
H A Dallocator_traits.h246 using rebind_alloc = __allocator_traits_rebind_t<allocator_type, _Tp>;
248 using rebind_traits = allocator_traits<rebind_alloc<_Tp> >;
251 struct rebind_alloc {
256 using other = allocator_traits<typename rebind_alloc<_Tp>::other>;
355 using type _LIBCPP_NODEBUG = typename _Traits::template rebind_alloc<_Tp>;
357 using type = typename _Traits::template rebind_alloc<_Tp>::other;
/llvm-project-15.0.7/libcxx/include/experimental/
H A Dmemory_resource44 allocator_traits<Allocator>::rebind_alloc<char>>;
346 using _Alloc = typename _CTraits::template rebind_alloc<
412 typename allocator_traits<_Alloc>::template rebind_alloc<char>
/llvm-project-15.0.7/libcxx/include/
H A Dscoped_allocator46 OuterTraits::template rebind_alloc<Tp>, InnerAllocs...> other;
436 typename _OuterTraits::template rebind_alloc<_Tp>, _InnerAllocs...
H A Dmemory83 template <class T> using rebind_alloc = Alloc::rebind<T>::other | Alloc<T, Args...>;
84 template <class T> using rebind_traits = allocator_traits<rebind_alloc<T>>;