Home
last modified time | relevance | path

Searched refs:allocator_type (Results 1 – 25 of 46) sorted by relevance

12

/freebsd/contrib/llvm-project/libcxx/include/__memory/
H A Dallocator_traits.h228 using allocator_type = _Alloc;
229 using value_type = typename allocator_type::value_type;
230 using pointer = __pointer<value_type, allocator_type>;
231 …ng const_pointer = __const_pointer_t<value_type, pointer, allocator_type>;
232 using void_pointer = __void_pointer_t<pointer, allocator_type>;
233 using const_void_pointer = __const_void_pointer_t<pointer, allocator_type>;
234 …ype = typename __alloc_traits_difference_type<allocator_type, pointer>::typ…
235 using size_type = __size_type<allocator_type, difference_type>;
236 … propagate_on_container_copy_assignment = __propagate_on_container_copy_assignment<allocator_type>;
237 … propagate_on_container_move_assignment = __propagate_on_container_move_assignment<allocator_type>;
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__memory/
H A Dallocator_traits.h224 using allocator_type = _Alloc;
225 using value_type = typename allocator_type::value_type;
226 using pointer = typename __pointer<value_type, allocator_type>::type;
227 using const_pointer = typename __const_pointer<value_type, pointer, allocator_type>::type;
228 using void_pointer = typename __void_pointer<pointer, allocator_type>::type;
229 using const_void_pointer = typename __const_void_pointer<pointer, allocator_type>::type;
230 using difference_type = typename __alloc_traits_difference_type<allocator_type, pointer>::type;
231 using size_type = typename __size_type<allocator_type, difference_type>::type;
233 typename __propagate_on_container_copy_assignment<allocator_type>::type;
235 typename __propagate_on_container_move_assignment<allocator_type>::type;
[all …]
/freebsd/contrib/llvm-project/libcxx/include/
H A Dvector26 typedef Allocator allocator_type;
27 typedef typename allocator_type::reference reference;
28 typedef typename allocator_type::const_reference const_reference;
31 typedef typename allocator_type::size_type size_type;
32 typedef typename allocator_type::difference_type difference_type;
33 typedef typename allocator_type::pointer pointer;
34 typedef typename allocator_type::const_pointer const_pointer;
39 noexcept(is_nothrow_default_constructible<allocator_type>::value);
40 explicit vector(const allocator_type&);
42 explicit vector(size_type n, const allocator_type&); // C++14
[all …]
H A Dsstream29 typedef Allocator allocator_type;
35 explicit basic_stringbuf(const basic_string<char_type, traits_type, allocator_type>& s,
37 explicit basic_stringbuf(const allocator_type& a)
39 basic_stringbuf(ios_base::openmode which, const allocator_type& a); // C++20
40 explicit basic_stringbuf(basic_string<char_type, traits_type, allocator_type>&& s,
43 basic_stringbuf(const basic_string<char_type, traits_type, SAlloc>& s, const allocator_type& a)
47 ios_base::openmode which, const allocator_type& a); // C++20
60 basic_stringbuf(basic_stringbuf&& rhs, const allocator_type& a); // C++20
68 allocator_type get_allocator() const noexcept; // C++20
69 … basic_string<char_type, traits_type, allocator_type> str() const; // before C++20
[all …]
H A Dset30 typedef Allocator allocator_type;
31 typedef typename allocator_type::reference reference;
32 typedef typename allocator_type::const_reference const_reference;
33 typedef typename allocator_type::size_type size_type;
34 typedef typename allocator_type::difference_type difference_type;
35 typedef typename allocator_type::pointer pointer;
36 typedef typename allocator_type::const_pointer const_pointer;
48 is_nothrow_default_constructible<allocator_type>::value &&
52 set(const value_compare& comp, const allocator_type& a);
58 const allocator_type& a);
[all …]
H A Dunordered_set34 typedef Alloc allocator_type;
37 typedef typename allocator_traits<allocator_type>::pointer pointer;
38 typedef typename allocator_traits<allocator_type>::const_pointer const_pointer;
39 typedef typename allocator_traits<allocator_type>::size_type size_type;
40 typedef typename allocator_traits<allocator_type>::difference_type difference_type;
54 is_nothrow_default_constructible<allocator_type>::value);
57 const allocator_type& a = allocator_type());
62 const allocator_type& a = allocator_type());
66 const allocator_type& a = allocator_type()); // C++23
67 explicit unordered_set(const allocator_type&);
[all …]
H A Dunordered_map32 typedef Alloc allocator_type;
36 typedef typename allocator_traits<allocator_type>::pointer pointer;
37 typedef typename allocator_traits<allocator_type>::const_pointer const_pointer;
38 typedef typename allocator_traits<allocator_type>::size_type size_type;
39 typedef typename allocator_traits<allocator_type>::difference_type difference_type;
53 is_nothrow_default_constructible<allocator_type>::value);
56 const allocator_type& a = allocator_type());
61 const allocator_type& a = allocator_type());
65 const allocator_type& a = allocator_type()); // C++23
67 explicit unordered_map(const allocator_type&);
[all …]
H A Dmap30 typedef Allocator allocator_type;
31 typedef typename allocator_type::reference reference;
32 typedef typename allocator_type::const_reference const_reference;
33 typedef typename allocator_type::pointer pointer;
34 typedef typename allocator_type::const_pointer const_pointer;
35 typedef typename allocator_type::size_type size_type;
36 typedef typename allocator_type::difference_type difference_type;
62 is_nothrow_default_constructible<allocator_type>::value &&
66 map(const key_compare& comp, const allocator_type& a);
72 const key_compare& comp, const allocator_type& a);
[all …]
H A D__node_handle21 using allocator_type = see below;
25 using ator_traits = allocator_traits<allocator_type>; // exposition only
29 optional<allocator_type> alloc_; // exposition only
45 allocator_type get_allocator() const;
96 typedef _Alloc allocator_type;
100 optional<allocator_type> __alloc_;
109 … typedef typename __allocator_traits_rebind< allocator_type, _NodeType>::type __node_alloc_type;
116 …_LIBCPP_HIDE_FROM_ABI __basic_node_handle(__node_pointer_type __ptr, allocator_type const& __alloc)
147 _LIBCPP_HIDE_FROM_ABI allocator_type get_allocator() const { return *__alloc_; }
H A Dforward_list24 typedef Allocator allocator_type;
28 typedef typename allocator_traits<allocator_type>::pointer pointer;
29 typedef typename allocator_traits<allocator_type>::const_pointer const_pointer;
30 typedef typename allocator_traits<allocator_type>::size_type size_type;
31 typedef typename allocator_traits<allocator_type>::difference_type difference_type;
37 noexcept(is_nothrow_default_constructible<allocator_type>::value);
38 explicit forward_list(const allocator_type& a);
40 explicit forward_list(size_type n, const allocator_type& a); // C++14
42 forward_list(size_type n, const value_type& v, const allocator_type& a);
46 forward_list(InputIterator first, InputIterator last, const allocator_type& a);
[all …]
H A Ddeque25 typedef Allocator allocator_type;
27 typedef typename allocator_type::reference reference;
28 typedef typename allocator_type::const_reference const_reference;
31 typedef typename allocator_type::size_type size_type;
32 typedef typename allocator_type::difference_type difference_type;
34 typedef typename allocator_type::pointer pointer;
35 typedef typename allocator_type::const_pointer const_pointer;
40 deque() noexcept(is_nothrow_default_constructible<allocator_type>::value);
41 explicit deque(const allocator_type& a);
43 explicit deque(size_type n, const allocator_type& a); // C++14
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/
H A Dsstream29 typedef Allocator allocator_type;
35 explicit basic_stringbuf(const basic_string<char_type, traits_type, allocator_type>& s,
37 explicit basic_stringbuf(const allocator_type& a)
39 basic_stringbuf(ios_base::openmode which, const allocator_type& a); // C++20
40 explicit basic_stringbuf(basic_string<char_type, traits_type, allocator_type>&& s,
43 basic_stringbuf(const basic_string<char_type, traits_type, SAlloc>& s, const allocator_type& a)
47 ios_base::openmode which, const allocator_type& a); // C++20
60 basic_stringbuf(basic_stringbuf&& rhs, const allocator_type& a); // C++20
68 allocator_type get_allocator() const noexcept; // C++20
69 … basic_string<char_type, traits_type, allocator_type> str() const; // before C++20
[all …]
H A Dunordered_set34 typedef Alloc allocator_type;
37 typedef typename allocator_traits<allocator_type>::pointer pointer;
38 typedef typename allocator_traits<allocator_type>::const_pointer const_pointer;
39 typedef typename allocator_traits<allocator_type>::size_type size_type;
40 typedef typename allocator_traits<allocator_type>::difference_type difference_type;
54 is_nothrow_default_constructible<allocator_type>::value);
57 const allocator_type& a = allocator_type());
62 const allocator_type& a = allocator_type());
66 const allocator_type& a = allocator_type()); // C++23
67 explicit unordered_set(const allocator_type&);
[all …]
H A Dset30 typedef Allocator allocator_type;
31 typedef typename allocator_type::reference reference;
32 typedef typename allocator_type::const_reference const_reference;
33 typedef typename allocator_type::size_type size_type;
34 typedef typename allocator_type::difference_type difference_type;
35 typedef typename allocator_type::pointer pointer;
36 typedef typename allocator_type::const_pointer const_pointer;
48 is_nothrow_default_constructible<allocator_type>::value &&
52 set(const value_compare& comp, const allocator_type& a);
58 const allocator_type& a);
[all …]
H A Dunordered_map32 typedef Alloc allocator_type;
36 typedef typename allocator_traits<allocator_type>::pointer pointer;
37 typedef typename allocator_traits<allocator_type>::const_pointer const_pointer;
38 typedef typename allocator_traits<allocator_type>::size_type size_type;
39 typedef typename allocator_traits<allocator_type>::difference_type difference_type;
53 is_nothrow_default_constructible<allocator_type>::value);
56 const allocator_type& a = allocator_type());
61 const allocator_type& a = allocator_type());
65 const allocator_type& a = allocator_type()); // C++23
67 explicit unordered_map(const allocator_type&);
[all …]
H A Dmap30 typedef Allocator allocator_type;
31 typedef typename allocator_type::reference reference;
32 typedef typename allocator_type::const_reference const_reference;
33 typedef typename allocator_type::pointer pointer;
34 typedef typename allocator_type::const_pointer const_pointer;
35 typedef typename allocator_type::size_type size_type;
36 typedef typename allocator_type::difference_type difference_type;
62 is_nothrow_default_constructible<allocator_type>::value &&
66 map(const key_compare& comp, const allocator_type& a);
72 const key_compare& comp, const allocator_type& a);
[all …]
H A Dvector26 typedef Allocator allocator_type;
27 typedef typename allocator_type::reference reference;
28 typedef typename allocator_type::const_reference const_reference;
31 typedef typename allocator_type::size_type size_type;
32 typedef typename allocator_type::difference_type difference_type;
33 typedef typename allocator_type::pointer pointer;
34 typedef typename allocator_type::const_pointer const_pointer;
39 noexcept(is_nothrow_default_constructible<allocator_type>::value);
40 explicit vector(const allocator_type&);
42 explicit vector(size_type n, const allocator_type&); // C++14
[all …]
H A Dforward_list24 typedef Allocator allocator_type;
28 typedef typename allocator_traits<allocator_type>::pointer pointer;
29 typedef typename allocator_traits<allocator_type>::const_pointer const_pointer;
30 typedef typename allocator_traits<allocator_type>::size_type size_type;
31 typedef typename allocator_traits<allocator_type>::difference_type difference_type;
37 noexcept(is_nothrow_default_constructible<allocator_type>::value);
38 explicit forward_list(const allocator_type& a);
40 explicit forward_list(size_type n, const allocator_type& a); // C++14
42 forward_list(size_type n, const value_type& v, const allocator_type& a);
46 forward_list(InputIterator first, InputIterator last, const allocator_type& a);
[all …]
H A Ddeque25 typedef Allocator allocator_type;
27 typedef typename allocator_type::reference reference;
28 typedef typename allocator_type::const_reference const_reference;
31 typedef typename allocator_type::size_type size_type;
32 typedef typename allocator_type::difference_type difference_type;
34 typedef typename allocator_type::pointer pointer;
35 typedef typename allocator_type::const_pointer const_pointer;
40 deque() noexcept(is_nothrow_default_constructible<allocator_type>::value);
41 explicit deque(const allocator_type& a);
43 explicit deque(size_type n, const allocator_type& a); // C++14
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/ext/
H A Dhash_set30 typedef Alloc allocator_type;
33 typedef typename allocator_traits<allocator_type>::pointer pointer;
34 typedef typename allocator_traits<allocator_type>::const_pointer const_pointer;
35 typedef typename allocator_traits<allocator_type>::size_type size_type;
36 typedef typename allocator_traits<allocator_type>::difference_type difference_type;
43 const allocator_type& a = allocator_type());
48 const allocator_type& a = allocator_type());
53 allocator_type get_allocator() const;
116 typedef Alloc allocator_type;
119 typedef typename allocator_traits<allocator_type>::pointer pointer;
[all …]
H A Dhash_map30 typedef Alloc allocator_type;
34 typedef typename allocator_traits<allocator_type>::pointer pointer;
35 typedef typename allocator_traits<allocator_type>::const_pointer const_pointer;
36 typedef typename allocator_traits<allocator_type>::size_type size_type;
37 typedef typename allocator_traits<allocator_type>::difference_type difference_type;
45 const allocator_type& a = allocator_type());
52 const allocator_type& a = allocator_type());
57 allocator_type get_allocator() const;
122 typedef Alloc allocator_type;
126 typedef typename allocator_traits<allocator_type>::pointer pointer;
[all …]
/freebsd/contrib/llvm-project/libcxx/include/ext/
H A Dhash_set30 typedef Alloc allocator_type;
33 typedef typename allocator_traits<allocator_type>::pointer pointer;
34 typedef typename allocator_traits<allocator_type>::const_pointer const_pointer;
35 typedef typename allocator_traits<allocator_type>::size_type size_type;
36 typedef typename allocator_traits<allocator_type>::difference_type difference_type;
43 const allocator_type& a = allocator_type());
48 const allocator_type& a = allocator_type());
53 allocator_type get_allocator() const;
116 typedef Alloc allocator_type;
119 typedef typename allocator_traits<allocator_type>::pointer pointer;
[all …]
H A Dhash_map30 typedef Alloc allocator_type;
34 typedef typename allocator_traits<allocator_type>::pointer pointer;
35 typedef typename allocator_traits<allocator_type>::const_pointer const_pointer;
36 typedef typename allocator_traits<allocator_type>::size_type size_type;
37 typedef typename allocator_traits<allocator_type>::difference_type difference_type;
45 const allocator_type& a = allocator_type());
52 const allocator_type& a = allocator_type());
57 allocator_type get_allocator() const;
122 typedef Alloc allocator_type;
126 typedef typename allocator_traits<allocator_type>::pointer pointer;
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__vector/
H A Dvector.h95 using allocator_type = _Allocator; variable
96 using __alloc_traits _LIBCPP_NODEBUG = allocator_traits<allocator_type>;
121 …_trivially_relocatable<pointer>::value && __libcpp_is_trivially_relocatable<allocator_type>::value,
129 static_assert(__check_valid_allocator<allocator_type>::value, "");
130 static_assert(is_same<typename allocator_type::value_type, value_type>::value,
137 _NOEXCEPT_(is_nothrow_default_constructible<allocator_type>::value) {} in vector()
138 _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI explicit vector(const allocator_type& __a) in vector()
140 _NOEXCEPT_(is_nothrow_copy_constructible<allocator_type>::value) in vector()
157 …NSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI explicit vector(size_type __n, const allocator_type& __a) in vector()
179 vector(size_type __n, const value_type& __x, const allocator_type& __a) in vector()
[all …]
H A Dvector_bool.h82 using allocator_type = _Allocator;
83 using __alloc_traits _LIBCPP_NODEBUG = allocator_traits<allocator_type>;
126 _NOEXCEPT_(is_nothrow_default_constructible<allocator_type>::value);
128 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 explicit vector(const allocator_type& __a)
130 _NOEXCEPT_(is_nothrow_copy_constructible<allocator_type>::value);
154 …E_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 explicit vector(size_type __n, const allocator_type& __a);
158 vector(size_type __n, const value_type& __v, const allocator_type& __a);
163 vector(_InputIterator __first, _InputIterator __last, const allocator_type& __a);
168 vector(_ForwardIterator __first, _ForwardIterator __last, const allocator_type& __a);
172 …_ABI constexpr vector(from_range_t, _Range&& __range, const allocator_type& __a = allocator_type())
[all …]

12