Searched refs:__other (Results 1 - 24 of 24) sorted by relevance

/openbsd-current/gnu/llvm/libcxx/include/__utility/
H A Dexception_guard.h70 __exception_guard_exceptions(__exception_guard_exceptions&& __other)
72 : __rollback_(std::move(__other.__rollback_)), __completed_(__other.__completed_) {
73 __other.__completed_ = true;
104 __exception_guard_noexceptions(__exception_guard_noexceptions&& __other)
106 : __completed_(__other.__completed_) {
107 __other.__completed_ = true;
/openbsd-current/gnu/llvm/libcxx/include/__ranges/
H A Dnon_propagating_cache.h65 constexpr __non_propagating_cache(__non_propagating_cache&& __other) noexcept
68 __other.__value_.reset();
72 constexpr __non_propagating_cache& operator=(__non_propagating_cache const& __other) noexcept {
73 if (this != std::addressof(__other)) {
80 constexpr __non_propagating_cache& operator=(__non_propagating_cache&& __other) noexcept {
82 __other.__value_.reset();
H A Dcopyable_box.h67 constexpr __copyable_box& operator=(__copyable_box const& __other)
70 if (this != std::addressof(__other)) {
71 if (__other.__has_value()) __val_.emplace(*__other);
81 constexpr __copyable_box& operator=(__copyable_box&& __other)
84 if (this != std::addressof(__other)) {
85 if (__other.__has_value()) __val_.emplace(std::move(*__other));
147 constexpr __copyable_box& operator=(__copyable_box const& __other) noexcept {
149 if (this != std::addressof(__other)) {
[all...]
H A Delements_view.h351 _LIBCPP_HIDE_FROM_ABI constexpr __sentinel(__sentinel<!_Const> __other)
353 : __end_(std::move(__other.__end_)) {}
/openbsd-current/gnu/llvm/libcxx/include/__algorithm/
H A Dranges_remove.h40 auto __pred = [&](auto&& __other) { return __value == __other; };
49 auto __pred = [&](auto&& __other) { return __value == __other; };
/openbsd-current/gnu/gcc/libstdc++-v3/include/bits/
H A Dlocale_classes.h132 locale(const locale& __other) throw();
183 locale(const locale& __other, _Facet* __f);
197 operator=(const locale& __other) throw();
213 combine(const locale& __other) const;
231 operator==(const locale& __other) const throw ();
240 operator!=(const locale& __other) const throw ()
241 { return !(this->operator==(__other)); }
565 locale::locale(const locale& __other, _Facet* __f) argument
567 _M_impl = new _Impl(*__other._M_impl, 1);
H A Dpostypes.h188 operator-(const fpos& __other) const
189 { return _M_off - __other._M_off; }
/openbsd-current/gnu/lib/libstdc++/libstdc++/include/bits/
H A Dlocale_classes.h97 locale(const locale& __other) throw();
107 locale(const locale& __other, _Facet* __f);
112 operator=(const locale& __other) throw();
116 combine(const locale& __other) const;
123 operator==(const locale& __other) const throw ();
126 operator!=(const locale& __other) const throw ()
127 { return !(this->operator==(__other)); }
302 locale::locale(const locale& __other, _Facet* __f) argument
304 _M_impl = new _Impl(*__other._M_impl, 1);
/openbsd-current/gnu/llvm/libcxx/include/__memory_resource/
H A Dmemory_resource.h44 _LIBCPP_HIDE_FROM_ABI bool is_equal(const memory_resource& __other) const noexcept { return do_is_equal(__other); }
H A Dunsynchronized_pool_resource.h88 _LIBCPP_HIDE_FROM_ABI_VIRTUAL bool do_is_equal(const memory_resource& __other) const _NOEXCEPT override {
89 return &__other == this;
H A Dmonotonic_buffer_resource.h104 _LIBCPP_HIDE_FROM_ABI_VIRTUAL bool do_is_equal(const memory_resource& __other) const _NOEXCEPT override {
105 return this == std::addressof(__other);
H A Dsynchronized_pool_resource.h79 bool do_is_equal(const memory_resource& __other) const noexcept override; // key function
H A Dpolymorphic_allocator.h56 _LIBCPP_HIDE_FROM_ABI polymorphic_allocator(const polymorphic_allocator<_Tp>& __other) noexcept
57 : __res_(__other.resource()) {}
/openbsd-current/gnu/llvm/libcxx/include/__iterator/
H A Dcommon_iterator.h72 constexpr common_iterator(const common_iterator<_I2, _S2>& __other) argument
74 _LIBCPP_ASSERT(!__other.__hold_.valueless_by_exception(), "Attempted to construct from a valueless common_iterator");
75 if (__other.__hold_.index() == 0)
76 return variant<_Iter, _Sent>{in_place_index<0>, _VSTD::__unchecked_get<0>(__other.__hold_)};
77 return variant<_Iter, _Sent>{in_place_index<1>, _VSTD::__unchecked_get<1>(__other.__hold_)};
83 common_iterator& operator=(const common_iterator<_I2, _S2>& __other) { argument
84 _LIBCPP_ASSERT(!__other.__hold_.valueless_by_exception(), "Attempted to assign from a valueless common_iterator");
87 auto __other_idx = __other.__hold_.index();
91 _VSTD::__unchecked_get<0>(__hold_) = _VSTD::__unchecked_get<0>(__other.__hold_);
93 _VSTD::__unchecked_get<1>(__hold_) = _VSTD::__unchecked_get<1>(__other
[all...]
H A Dcounted_iterator.h92 constexpr counted_iterator(const counted_iterator<_I2>& __other) argument
93 : __current_(__other.__current_), __count_(__other.__count_) {}
98 constexpr counted_iterator& operator=(const counted_iterator<_I2>& __other) { argument
99 __current_ = __other.__current_;
100 __count_ = __other.__count_;
H A Dbounded_iter.h59 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR __bounded_iter(__bounded_iter<_OtherIterator> const& __other) _NOEXCEPT
60 : __current_(__other.__current_),
61 __begin_(__other.__begin_),
62 __end_(__other.__end_) {}
H A Dreverse_iterator.h444 _LIBCPP_HIDE_FROM_ABI constexpr difference_type operator-(const __unconstrained_reverse_iterator& __other) const {
445 return __other.__iter_ - __iter_;
/openbsd-current/gnu/lib/libstdc++/libstdc++/src/
H A Dlocale.cc165 locale::locale(const locale& __other) throw() argument
166 { (_M_impl = __other._M_impl)->_M_add_reference(); }
311 locale::operator=(const locale& __other) throw() argument
313 __other._M_impl->_M_add_reference();
315 _M_impl = __other._M_impl;
320 locale::global(const locale& __other) argument
325 __other._M_impl->_M_add_reference();
326 _S_global = __other._M_impl;
329 setlocale(LC_ALL, __other.name().c_str());
332 // subsition of __other local
[all...]
/openbsd-current/gnu/llvm/libcxx/src/experimental/
H A Dmemory_resource.cpp65 virtual bool do_is_equal(memory_resource const & __other) const noexcept
66 { return &__other == this; }
/openbsd-current/gnu/gcc/libstdc++-v3/src/
H A Dlocale.cc77 locale::locale(const locale& __other) throw() argument
78 : _M_impl(__other._M_impl)
112 locale::operator=(const locale& __other) throw() argument
114 __other._M_impl->_M_add_reference();
116 _M_impl = __other._M_impl;
H A Dlocale_init.cc221 locale::global(const locale& __other) argument
228 __other._M_impl->_M_add_reference();
229 _S_global = __other._M_impl;
230 const string __other_name = __other.name();
236 // subsition of __other locale, one added by return-by-value. Net
/openbsd-current/gnu/llvm/libcxx/include/__expected/
H A Dunexpected.h94 _LIBCPP_HIDE_FROM_ABI constexpr void swap(unexpected& __other) noexcept(is_nothrow_swappable_v<_Err>) {
97 swap(__unex_, __other.__unex_);
H A Dexpected.h121 _LIBCPP_HIDE_FROM_ABI constexpr expected(const expected& __other)
125 : __has_val_(__other.__has_val_) {
127 std::construct_at(std::addressof(__union_.__val_), __other.__union_.__val_);
129 std::construct_at(std::addressof(__union_.__unex_), __other.__union_.__unex_);
139 _LIBCPP_HIDE_FROM_ABI constexpr expected(expected&& __other)
143 : __has_val_(__other.__has_val_) {
145 std::construct_at(std::addressof(__union_.__val_), std::move(__other.__union_.__val_));
147 std::construct_at(std::addressof(__union_.__unex_), std::move(__other.__union_.__unex_));
175 expected(const expected<_Up, _OtherErr>& __other)
178 : __has_val_(__other
[all...]
/openbsd-current/gnu/gcc/libstdc++-v3/include/tr1/
H A Dboost_shared_ptr.h690 swap(__shared_ptr<_Tp, _Lp>& __other) // never throws argument
692 std::swap(_M_ptr, __other._M_ptr);
693 _M_refcount._M_swap(__other._M_refcount);

Completed in 144 milliseconds