Lines Matching refs:noexcept

47     static pointer pointer_to(<details>) noexcept; // constexpr in C++20
50 template <class T> constexpr T* to_address(T* p) noexcept; // C++20
51 template <class Ptr> constexpr auto to_address(const Ptr& p) noexcept; // C++20
91 … static void deallocate(allocator_type& a, pointer p, size_type n) noexcept; // constexpr in C++20
99 static size_type max_size(const allocator_type& a); // noexcept in C++14, constexpr in C++20
144 constexpr allocator() noexcept; // constexpr in C++20
145 constexpr allocator(const allocator&) noexcept; // constexpr in C++20
147 constexpr allocator(const allocator<U>&) noexcept; // constexpr in C++20
149 … pointer address(reference x) const noexcept; // deprecated in C++17, removed in C++20
150 … const_pointer address(const_reference x) const noexcept; // deprecated in C++17, removed in C++20
153 void deallocate(T* p, size_t n) noexcept; // constexpr in C++20
154 size_type max_size() const noexcept; // deprecated in C++17, removed in C++20
162 bool operator==(const allocator<T>&, const allocator<U>&) noexcept; // constexpr in C++20
165 bool operator!=(const allocator<T>&, const allocator<U>&) noexcept; // removed in C++20
186 template <class T> pair<T*,ptrdiff_t> get_temporary_buffer(ptrdiff_t n) noexcept;
187 template <class T> void return_temporary_buffer(T* p) noexcept;
189 template <class T> T* addressof(T& r) noexcept;
190 template <class T> T* addressof(const T&& r) noexcept = delete;
269 constexpr void destroy_at(T* location) noexcept; // since C++20
278 constexpr InputIterator destroy(InputIterator first, Sentinel last) noexcept; // since C++20
281 constexpr borrowed_iterator_t<InputRange> destroy(InputRange&& range) noexcept; // since C++20
290 …terator destroy_n(InputIterator first, iter_difference_t<InputIterator> n) noexcept; // since C++20
410 constexpr default_delete() noexcept = default;
411 …template <class U> constexpr default_delete(const default_delete<U>&) noexcept; // constexpr since…
413 …constexpr void operator()(T*) const noexcept; // constexpr since…
419 constexpr default_delete() noexcept = default;
420 …template <class U> constexpr default_delete(const default_delete <U[]>&) noexcept; // constexpr si…
421 …constexpr void operator()(T*) const noexcept; // constexpr si…
434 constexpr unique_ptr() noexcept;
435 constexpr explicit unique_ptr(pointer p) noexcept; // constexpr since C++23
436 constexpr unique_ptr(pointer p, see below d1) noexcept; // constexpr since C++23
437 constexpr unique_ptr(pointer p, see below d2) noexcept; // constexpr since C++23
438 constexpr unique_ptr(unique_ptr&& u) noexcept; // constexpr since C++23
439 constexpr unique_ptr(nullptr_t) noexcept : unique_ptr() { }
441 constexpr unique_ptr(unique_ptr<U, E>&& u) noexcept; // constexpr since C++23
443 unique_ptr(auto_ptr<U>&& u) noexcept; // removed in C++17
449 …constexpr unique_ptr& operator=(unique_ptr&& u) noexcept; // constexpr sin…
451 …constexpr unique_ptr& operator=(unique_ptr<U, E>&& u) noexcept; // constexpr sin…
452 …constexpr unique_ptr& operator=(nullptr_t) noexcept; // constexpr sin…
456 …constexpr pointer operator->() const noexcept; // constexpr sin…
457 …constexpr pointer get() const noexcept; // constexpr sin…
458 …constexpr deleter_type& get_deleter() noexcept; // constexpr sin…
459 …constexpr const deleter_type& get_deleter() const noexcept; // constexpr sin…
460 …constexpr explicit operator bool() const noexcept; // constexpr sin…
463 …constexpr pointer release() noexcept; // constexpr sin…
464 …constexpr void reset(pointer p = pointer()) noexcept; // constexpr sin…
465 …constexpr void swap(unique_ptr& u) noexcept; // constexpr sin…
477 constexpr unique_ptr() noexcept;
478 constexpr explicit unique_ptr(pointer p) noexcept; // constexpr since C++23
479 constexpr unique_ptr(pointer p, see below d) noexcept; // constexpr since C++23
480 constexpr unique_ptr(pointer p, see below d) noexcept; // constexpr since C++23
481 constexpr unique_ptr(unique_ptr&& u) noexcept; // constexpr since C++23
483 constexpr unique_ptr(unique_ptr <U, E>&& u) noexcept; // constexpr since C++23
484 constexpr unique_ptr(nullptr_t) noexcept : unique_ptr() { }
490 constexpr unique_ptr& operator=(unique_ptr&& u) noexcept; // constexpr since C++23
492 constexpr unique_ptr& operator=(unique_ptr <U, E>&& u) noexcept; // constexpr since C++23
493 constexpr unique_ptr& operator=(nullptr_t) noexcept; // constexpr since C++23
497 constexpr pointer get() const noexcept; // constexpr since C++23
498 constexpr deleter_type& get_deleter() noexcept; // constexpr since C++23
499 constexpr const deleter_type& get_deleter() const noexcept; // constexpr since C++23
500 constexpr explicit operator bool() const noexcept; // constexpr since C++23
503 constexpr pointer release() noexcept; // constexpr since C++23
504 constexpr void reset(pointer p = pointer()) noexcept; // constexpr since C++23
505 constexpr void reset(nullptr_t) noexcept; // constexpr since C++23
507 constexpr void swap(unique_ptr& u) noexcept; // constexpr since C++23
511 …constexpr void swap(unique_ptr<T, D>& x, unique_ptr<T, D>& y) noexcept; // constex…
533 …constexpr bool operator==(const unique_ptr<T, D>& x, nullptr_t) noexcept; // constexpr since C++…
535 bool operator==(nullptr_t, const unique_ptr<T, D>& y) noexcept; // removed in C++20
537 bool operator!=(const unique_ptr<T, D>& x, nullptr_t) noexcept; // removed in C++20
539 bool operator!=(nullptr_t, const unique_ptr<T, D>& y) noexcept; // removed in C++20
565 bad_weak_ptr() noexcept;
593 constexpr shared_ptr() noexcept;
599 template<class Y> shared_ptr(const shared_ptr<Y>& r, T *p) noexcept;
600 shared_ptr(const shared_ptr& r) noexcept;
601 template<class Y> shared_ptr(const shared_ptr<Y>& r) noexcept;
602 shared_ptr(shared_ptr&& r) noexcept;
603 template<class Y> shared_ptr(shared_ptr<Y>&& r) noexcept;
613 shared_ptr& operator=(const shared_ptr& r) noexcept;
614 template<class Y> shared_ptr& operator=(const shared_ptr<Y>& r) noexcept;
615 shared_ptr& operator=(shared_ptr&& r) noexcept;
621 void swap(shared_ptr& r) noexcept;
622 void reset() noexcept;
628 T* get() const noexcept;
629 T& operator*() const noexcept;
630 T* operator->() const noexcept;
631 long use_count() const noexcept;
632 bool unique() const noexcept; // deprected in C++17, removed in C++20
633 explicit operator bool() const noexcept;
634 template<class U> bool owner_before(shared_ptr<U> const& b) const noexcept;
635 template<class U> bool owner_before(weak_ptr<U> const& b) const noexcept;
645 bool operator==(shared_ptr<T> const& a, shared_ptr<U> const& b) noexcept;
647 …bool operator!=(shared_ptr<T> const& a, shared_ptr<U> const& b) noexcept; // removed…
649 …bool operator<(shared_ptr<T> const& a, shared_ptr<U> const& b) noexcept; // removed…
651 …bool operator>(shared_ptr<T> const& a, shared_ptr<U> const& b) noexcept; // removed…
653 …bool operator<=(shared_ptr<T> const& a, shared_ptr<U> const& b) noexcept; // removed…
655 …bool operator>=(shared_ptr<T> const& a, shared_ptr<U> const& b) noexcept; // removed…
657 strong_ordering operator<=>(shared_ptr<T> const& a, shared_ptr<U> const& b) noexcept; // C++20
660 bool operator==(const shared_ptr<T>& x, nullptr_t) noexcept;
662 bool operator==(nullptr_t, const shared_ptr<T>& y) noexcept; // removed in C++20
664 bool operator!=(const shared_ptr<T>& x, nullptr_t) noexcept; // removed in C++20
666 bool operator!=(nullptr_t, const shared_ptr<T>& y) noexcept; // removed in C++20
668 bool operator<(const shared_ptr<T>& x, nullptr_t) noexcept; // removed in C++20
670 bool operator<(nullptr_t, const shared_ptr<T>& y) noexcept; // removed in C++20
672 bool operator<=(const shared_ptr<T>& x, nullptr_t) noexcept; // removed in C++20
674 bool operator<=(nullptr_t, const shared_ptr<T>& y) noexcept; // removed in C++20
676 bool operator>(const shared_ptr<T>& x, nullptr_t) noexcept; // removed in C++20
678 bool operator>(nullptr_t, const shared_ptr<T>& y) noexcept; // removed in C++20
680 bool operator>=(const shared_ptr<T>& x, nullptr_t) noexcept; // removed in C++20
682 bool operator>=(nullptr_t, const shared_ptr<T>& y) noexcept; // removed in C++20
684 strong_ordering operator<=>(shared_ptr<T> const& x, nullptr_t) noexcept; // C++20
687 template<class T> void swap(shared_ptr<T>& a, shared_ptr<T>& b) noexcept;
691 shared_ptr<T> static_pointer_cast(shared_ptr<U> const& r) noexcept;
693 shared_ptr<T> dynamic_pointer_cast(shared_ptr<U> const& r) noexcept;
695 shared_ptr<T> const_pointer_cast(shared_ptr<U> const& r) noexcept;
702 template<class D, class T> D* get_deleter(shared_ptr<T> const& p) noexcept;
747 constexpr weak_ptr() noexcept;
748 template<class Y> weak_ptr(shared_ptr<Y> const& r) noexcept;
749 weak_ptr(weak_ptr const& r) noexcept;
750 template<class Y> weak_ptr(weak_ptr<Y> const& r) noexcept;
751 weak_ptr(weak_ptr&& r) noexcept; // C++14
752 template<class Y> weak_ptr(weak_ptr<Y>&& r) noexcept; // C++14
758 weak_ptr& operator=(weak_ptr const& r) noexcept;
759 template<class Y> weak_ptr& operator=(weak_ptr<Y> const& r) noexcept;
760 template<class Y> weak_ptr& operator=(shared_ptr<Y> const& r) noexcept;
761 weak_ptr& operator=(weak_ptr&& r) noexcept; // C++14
762 template<class Y> weak_ptr& operator=(weak_ptr<Y>&& r) noexcept; // C++14
765 void swap(weak_ptr& r) noexcept;
766 void reset() noexcept;
769 long use_count() const noexcept;
770 bool expired() const noexcept;
771 shared_ptr<T> lock() const noexcept;
772 template<class U> bool owner_before(shared_ptr<U> const& b) const noexcept;
773 template<class U> bool owner_before(weak_ptr<U> const& b) const noexcept;
780 template<class T> void swap(weak_ptr<T>& a, weak_ptr<T>& b) noexcept;
790 bool operator()(shared_ptr<T> const&, shared_ptr<T> const&) const noexcept;
791 bool operator()(shared_ptr<T> const&, weak_ptr<T> const&) const noexcept;
792 bool operator()(weak_ptr<T> const&, shared_ptr<T> const&) const noexcept;
800 bool operator()(weak_ptr<T> const&, weak_ptr<T> const&) const noexcept;
801 bool operator()(shared_ptr<T> const&, weak_ptr<T> const&) const noexcept;
802 bool operator()(weak_ptr<T> const&, shared_ptr<T> const&) const noexcept;
809 bool operator()( shared_ptr<_Tp> const& __x, shared_ptr<_Up> const& __y) const noexcept;
811 bool operator()( shared_ptr<_Tp> const& __x, weak_ptr<_Up> const& __y) const noexcept;
813 bool operator()( weak_ptr<_Tp> const& __x, shared_ptr<_Up> const& __y) const noexcept;
815 bool operator()( weak_ptr<_Tp> const& __x, weak_ptr<_Up> const& __y) const noexcept;
824 constexpr enable_shared_from_this() noexcept;
825 enable_shared_from_this(enable_shared_from_this const&) noexcept;
826 enable_shared_from_this& operator=(enable_shared_from_this const&) noexcept;
875 Args&&... args) noexcept;
879 Tuple1&& x, Tuple2&& y) noexcept;
881 constexpr auto uses_allocator_construction_args(const Alloc& alloc) noexcept; // since C++20
884 U&& u, V&& v) noexcept;
887 pair<U, V>& pr) noexcept;
890 const pair<U, V>& pr) noexcept;
893 pair<U, V>&& pr) noexcept;
896 const pair<U, V>&& pr) noexcept;
899 P&& p) noexcept;
902 U&& u) noexcept;