Lines Matching refs:noexcept

45     static pointer pointer_to(<details>) noexcept; // constexpr in C++20
48 template <class T> constexpr T* to_address(T* p) noexcept; // C++20
49 template <class Ptr> constexpr auto to_address(const Ptr& p) noexcept; // C++20
89 … static void deallocate(allocator_type& a, pointer p, size_type n) noexcept; // constexpr in C++20
97 static size_type max_size(const allocator_type& a); // noexcept in C++14, constexpr in C++20
132 constexpr allocator() noexcept; // constexpr in C++20
133 constexpr allocator(const allocator&) noexcept; // constexpr in C++20
135 constexpr allocator(const allocator<U>&) noexcept; // constexpr in C++20
137 … pointer address(reference x) const noexcept; // deprecated in C++17, removed in C++20
138 … const_pointer address(const_reference x) const noexcept; // deprecated in C++17, removed in C++20
141 void deallocate(T* p, size_t n) noexcept; // constexpr in C++20
142 size_type max_size() const noexcept; // deprecated in C++17, removed in C++20
150 bool operator==(const allocator<T>&, const allocator<U>&) noexcept; // constexpr in C++20
153 bool operator!=(const allocator<T>&, const allocator<U>&) noexcept; // constexpr in C++20
174 template <class T> pair<T*,ptrdiff_t> get_temporary_buffer(ptrdiff_t n) noexcept;
175 template <class T> void return_temporary_buffer(T* p) noexcept;
177 template <class T> T* addressof(T& r) noexcept;
178 template <class T> T* addressof(const T&& r) noexcept = delete;
255 constexpr default_delete() noexcept = default;
256 template <class U> default_delete(const default_delete<U>&) noexcept;
258 void operator()(T*) const noexcept;
264 constexpr default_delete() noexcept = default;
265 void operator()(T*) const noexcept;
278 constexpr unique_ptr() noexcept;
279 explicit unique_ptr(pointer p) noexcept;
280 unique_ptr(pointer p, see below d1) noexcept;
281 unique_ptr(pointer p, see below d2) noexcept;
282 unique_ptr(unique_ptr&& u) noexcept;
283 unique_ptr(nullptr_t) noexcept : unique_ptr() { }
285 unique_ptr(unique_ptr<U, E>&& u) noexcept;
287 unique_ptr(auto_ptr<U>&& u) noexcept; // removed in C++17
293 unique_ptr& operator=(unique_ptr&& u) noexcept;
294 template <class U, class E> unique_ptr& operator=(unique_ptr<U, E>&& u) noexcept;
295 unique_ptr& operator=(nullptr_t) noexcept;
299 pointer operator->() const noexcept;
300 pointer get() const noexcept;
301 deleter_type& get_deleter() noexcept;
302 const deleter_type& get_deleter() const noexcept;
303 explicit operator bool() const noexcept;
306 pointer release() noexcept;
307 void reset(pointer p = pointer()) noexcept;
308 void swap(unique_ptr& u) noexcept;
320 constexpr unique_ptr() noexcept;
321 explicit unique_ptr(pointer p) noexcept;
322 unique_ptr(pointer p, see below d) noexcept;
323 unique_ptr(pointer p, see below d) noexcept;
324 unique_ptr(unique_ptr&& u) noexcept;
325 unique_ptr(nullptr_t) noexcept : unique_ptr() { }
331 unique_ptr& operator=(unique_ptr&& u) noexcept;
332 unique_ptr& operator=(nullptr_t) noexcept;
336 pointer get() const noexcept;
337 deleter_type& get_deleter() noexcept;
338 const deleter_type& get_deleter() const noexcept;
339 explicit operator bool() const noexcept;
342 pointer release() noexcept;
343 void reset(pointer p = pointer()) noexcept;
344 void reset(nullptr_t) noexcept;
346 void swap(unique_ptr& u) noexcept;
350 void swap(unique_ptr<T, D>& x, unique_ptr<T, D>& y) noexcept;
366 bool operator==(const unique_ptr<T, D>& x, nullptr_t) noexcept;
368 bool operator==(nullptr_t, const unique_ptr<T, D>& y) noexcept;
370 bool operator!=(const unique_ptr<T, D>& x, nullptr_t) noexcept;
372 bool operator!=(nullptr_t, const unique_ptr<T, D>& y) noexcept;
394 bad_weak_ptr() noexcept;
412 constexpr shared_ptr() noexcept;
418 template<class Y> shared_ptr(const shared_ptr<Y>& r, T *p) noexcept;
419 shared_ptr(const shared_ptr& r) noexcept;
420 template<class Y> shared_ptr(const shared_ptr<Y>& r) noexcept;
421 shared_ptr(shared_ptr&& r) noexcept;
422 template<class Y> shared_ptr(shared_ptr<Y>&& r) noexcept;
432 shared_ptr& operator=(const shared_ptr& r) noexcept;
433 template<class Y> shared_ptr& operator=(const shared_ptr<Y>& r) noexcept;
434 shared_ptr& operator=(shared_ptr&& r) noexcept;
440 void swap(shared_ptr& r) noexcept;
441 void reset() noexcept;
447 T* get() const noexcept;
448 T& operator*() const noexcept;
449 T* operator->() const noexcept;
450 long use_count() const noexcept;
451 bool unique() const noexcept;
452 explicit operator bool() const noexcept;
453 template<class U> bool owner_before(shared_ptr<U> const& b) const noexcept;
454 template<class U> bool owner_before(weak_ptr<U> const& b) const noexcept;
464 bool operator==(shared_ptr<T> const& a, shared_ptr<U> const& b) noexcept;
466 bool operator!=(shared_ptr<T> const& a, shared_ptr<U> const& b) noexcept;
468 bool operator<(shared_ptr<T> const& a, shared_ptr<U> const& b) noexcept;
470 bool operator>(shared_ptr<T> const& a, shared_ptr<U> const& b) noexcept;
472 bool operator<=(shared_ptr<T> const& a, shared_ptr<U> const& b) noexcept;
474 bool operator>=(shared_ptr<T> const& a, shared_ptr<U> const& b) noexcept;
477 bool operator==(const shared_ptr<T>& x, nullptr_t) noexcept;
479 bool operator==(nullptr_t, const shared_ptr<T>& y) noexcept;
481 bool operator!=(const shared_ptr<T>& x, nullptr_t) noexcept;
483 bool operator!=(nullptr_t, const shared_ptr<T>& y) noexcept;
485 bool operator<(const shared_ptr<T>& x, nullptr_t) noexcept;
487 bool operator<(nullptr_t, const shared_ptr<T>& y) noexcept;
489 bool operator<=(const shared_ptr<T>& x, nullptr_t) noexcept;
491 bool operator<=(nullptr_t, const shared_ptr<T>& y) noexcept;
493 bool operator>(const shared_ptr<T>& x, nullptr_t) noexcept;
495 bool operator>(nullptr_t, const shared_ptr<T>& y) noexcept;
497 bool operator>=(const shared_ptr<T>& x, nullptr_t) noexcept;
499 bool operator>=(nullptr_t, const shared_ptr<T>& y) noexcept;
502 template<class T> void swap(shared_ptr<T>& a, shared_ptr<T>& b) noexcept;
506 shared_ptr<T> static_pointer_cast(shared_ptr<U> const& r) noexcept;
508 shared_ptr<T> dynamic_pointer_cast(shared_ptr<U> const& r) noexcept;
510 shared_ptr<T> const_pointer_cast(shared_ptr<U> const& r) noexcept;
517 template<class D, class T> D* get_deleter(shared_ptr<T> const& p) noexcept;
531 constexpr weak_ptr() noexcept;
532 template<class Y> weak_ptr(shared_ptr<Y> const& r) noexcept;
533 weak_ptr(weak_ptr const& r) noexcept;
534 template<class Y> weak_ptr(weak_ptr<Y> const& r) noexcept;
535 weak_ptr(weak_ptr&& r) noexcept; // C++14
536 template<class Y> weak_ptr(weak_ptr<Y>&& r) noexcept; // C++14
542 weak_ptr& operator=(weak_ptr const& r) noexcept;
543 template<class Y> weak_ptr& operator=(weak_ptr<Y> const& r) noexcept;
544 template<class Y> weak_ptr& operator=(shared_ptr<Y> const& r) noexcept;
545 weak_ptr& operator=(weak_ptr&& r) noexcept; // C++14
546 template<class Y> weak_ptr& operator=(weak_ptr<Y>&& r) noexcept; // C++14
549 void swap(weak_ptr& r) noexcept;
550 void reset() noexcept;
553 long use_count() const noexcept;
554 bool expired() const noexcept;
555 shared_ptr<T> lock() const noexcept;
556 template<class U> bool owner_before(shared_ptr<U> const& b) const noexcept;
557 template<class U> bool owner_before(weak_ptr<U> const& b) const noexcept;
564 template<class T> void swap(weak_ptr<T>& a, weak_ptr<T>& b) noexcept;
574 bool operator()(shared_ptr<T> const&, shared_ptr<T> const&) const noexcept;
575 bool operator()(shared_ptr<T> const&, weak_ptr<T> const&) const noexcept;
576 bool operator()(weak_ptr<T> const&, shared_ptr<T> const&) const noexcept;
584 bool operator()(weak_ptr<T> const&, weak_ptr<T> const&) const noexcept;
585 bool operator()(shared_ptr<T> const&, weak_ptr<T> const&) const noexcept;
586 bool operator()(weak_ptr<T> const&, shared_ptr<T> const&) const noexcept;
593 bool operator()( shared_ptr<_Tp> const& __x, shared_ptr<_Up> const& __y) const noexcept;
595 bool operator()( shared_ptr<_Tp> const& __x, weak_ptr<_Up> const& __y) const noexcept;
597 bool operator()( weak_ptr<_Tp> const& __x, shared_ptr<_Up> const& __y) const noexcept;
599 bool operator()( weak_ptr<_Tp> const& __x, weak_ptr<_Up> const& __y) const noexcept;
608 constexpr enable_shared_from_this() noexcept;
609 enable_shared_from_this(enable_shared_from_this const&) noexcept;
610 enable_shared_from_this& operator=(enable_shared_from_this const&) noexcept;
662 pointer_safety get_pointer_safety() noexcept; // since C++11