#include <exempt_ptr.h>
Classes | |
struct | is_compatible |
Public Types | |
using | element_type = Element |
using | pointer = std::add_pointer_t< Element > |
using | reference = std::add_lvalue_reference_t< Element > |
Public Member Functions | |
constexpr | exempt_ptr () noexcept |
constexpr | exempt_ptr (std::nullptr_t) noexcept |
constexpr | exempt_ptr (pointer other) noexcept |
template<class E2 > | |
constexpr | exempt_ptr (E2 *other, std::enable_if_t< is_compatible_v< E2 >> *=nullptr) noexcept |
template<class E2 > | |
constexpr | exempt_ptr (exempt_ptr< E2 > const other, std::enable_if_t< is_compatible_v< E2 >> *=nullptr) noexcept |
constexpr exempt_ptr & | operator= (std::nullptr_t) noexcept |
template<class E2 > | |
constexpr std::enable_if_t< is_compatible_v< E2 >, exempt_ptr & > | operator= (E2 *other) noexcept |
template<class E2 > | |
constexpr std::enable_if_t< is_compatible_v< E2 >, exempt_ptr & > | operator= (exempt_ptr< E2 > const other) noexcept |
constexpr reference | operator* () const noexcept |
constexpr pointer | operator-> () const noexcept |
constexpr pointer | get () const noexcept |
constexpr bool | empty () const noexcept |
constexpr | operator bool () const noexcept |
constexpr pointer | release () noexcept |
constexpr void | reset (pointer t=nullptr) noexcept |
void | swap (exempt_ptr &other) noexcept |
Private Attributes | |
pointer | p |
Static Private Attributes | |
template<class P > | |
static constexpr bool | is_compatible_v = is_compatible<P>::value |
Definition at line 38 of file exempt_ptr.h.
using cet::exempt_ptr< Element >::element_type = Element |
Definition at line 83 of file exempt_ptr.h.
using cet::exempt_ptr< Element >::pointer = std::add_pointer_t<Element> |
Definition at line 84 of file exempt_ptr.h.
using cet::exempt_ptr< Element >::reference = std::add_lvalue_reference_t<Element> |
Definition at line 85 of file exempt_ptr.h.
|
inlinenoexcept |
Definition at line 97 of file exempt_ptr.h.
|
inlinenoexcept |
Definition at line 100 of file exempt_ptr.h.
|
inlineexplicitnoexcept |
Definition at line 101 of file exempt_ptr.h.
|
inlinenoexcept |
Definition at line 104 of file exempt_ptr.h.
|
inlinenoexcept |
Definition at line 113 of file exempt_ptr.h.
|
inlinenoexcept |
Definition at line 153 of file exempt_ptr.h.
|
inlinenoexcept |
Definition at line 148 of file exempt_ptr.h.
|
inlineexplicitnoexcept |
Definition at line 157 of file exempt_ptr.h.
|
inlinenoexcept |
Definition at line 145 of file exempt_ptr.h.
|
inlinenoexcept |
Definition at line 146 of file exempt_ptr.h.
|
inlinenoexcept |
Definition at line 120 of file exempt_ptr.h.
|
inlinenoexcept |
Definition at line 128 of file exempt_ptr.h.
|
inlinenoexcept |
Definition at line 138 of file exempt_ptr.h.
|
inlinenoexcept |
Definition at line 161 of file exempt_ptr.h.
|
inlinenoexcept |
Definition at line 168 of file exempt_ptr.h.
|
inlinenoexcept |
Definition at line 173 of file exempt_ptr.h.
|
staticprivate |
Definition at line 93 of file exempt_ptr.h.
|
private |
Definition at line 179 of file exempt_ptr.h.