Lines Matching refs:__alloc_
99 optional<allocator_type> __alloc_;
103 __alloc_ = std::nullopt;
109 __node_alloc_type __alloc(*__alloc_);
116 : __ptr_(__ptr), __alloc_(__alloc) {}
122 : __ptr_(__other.__ptr_), __alloc_(std::move(__other.__alloc_)) {
124 __other.__alloc_ = std::nullopt;
129 __alloc_ == std::nullopt || __alloc_traits::propagate_on_container_move_assignment::value ||
130 __alloc_ == __other.__alloc_,
137 if (__alloc_traits::propagate_on_container_move_assignment::value || __alloc_ == std::nullopt)
138 __alloc_ = std::move(__other.__alloc_);
141 __other.__alloc_ = std::nullopt;
146 _LIBCPP_HIDE_FROM_ABI allocator_type get_allocator() const { return *__alloc_; }
156 if (__alloc_traits::propagate_on_container_swap::value || __alloc_ == std::nullopt ||
157 __other.__alloc_ == std::nullopt)
158 swap(__alloc_, __other.__alloc_);