libcopp
2.2.0
|
#include <not_null.h>
Public Types | |
using | value_type = typename std::conditional< std::is_copy_constructible< T >::value, T, const T & >::type |
Public Member Functions | |
template<class U , class = typename std::enable_if<std::is_convertible<U, T>::value>::type> | |
constexpr | strict_not_null (U &&u) |
template<class = typename std::enable_if<!std::is_same<std::nullptr_t, T>::value>::type> | |
constexpr | strict_not_null (T u) |
template<class U , class = typename std::enable_if<std::is_convertible<U, T>::value>::type> | |
constexpr | strict_not_null (const not_null< U > &other) |
template<class U , class = typename std::enable_if<std::is_convertible<U, T>::value>::type> | |
constexpr | strict_not_null (const strict_not_null< U > &other) |
strict_not_null (strict_not_null &&other)=default | |
strict_not_null (const strict_not_null &other)=default | |
strict_not_null & | operator= (const strict_not_null &other)=default |
strict_not_null & | operator= (const not_null< T > &other) |
strict_not_null (std::nullptr_t)=delete | |
strict_not_null & | operator= (std::nullptr_t)=delete |
strict_not_null & | operator++ ()=delete |
strict_not_null & | operator-- ()=delete |
strict_not_null | operator++ (int)=delete |
strict_not_null | operator-- (int)=delete |
strict_not_null & | operator+= (std::ptrdiff_t)=delete |
strict_not_null & | operator-= (std::ptrdiff_t)=delete |
void | operator[] (std::ptrdiff_t) const =delete |
constexpr value_type | get () const |
constexpr | operator T () const |
constexpr value_type | operator-> () const |
constexpr std::remove_pointer< value_type >::type | operator* () const |
Private Attributes | |
T | ptr_ |
Definition at line 183 of file not_null.h.
|
inherited |
Definition at line 68 of file not_null.h.
|
inlineexplicitconstexpr |
Definition at line 186 of file not_null.h.
|
inlineexplicitconstexpr |
Definition at line 189 of file not_null.h.
|
inlineconstexpr |
Definition at line 192 of file not_null.h.
|
inlineconstexpr |
Definition at line 195 of file not_null.h.
|
default |
|
default |
|
delete |
|
inlineconstexprinherited |
Definition at line 84 of file not_null.h.
References gsl::not_null< T >::ptr_.
Referenced by gsl::not_null< T >::operator T(), gsl::not_null< T >::operator*(), and gsl::not_null< T >::operator->().
|
inlineconstexprinherited |
Definition at line 89 of file not_null.h.
References gsl::not_null< T >::get().
|
inlineconstexprinherited |
Definition at line 91 of file not_null.h.
References gsl::not_null< T >::get().
|
delete |
|
delete |
|
delete |
|
delete |
|
delete |
|
delete |
|
inlineconstexprinherited |
Definition at line 90 of file not_null.h.
References gsl::not_null< T >::get().
|
inline |
Definition at line 200 of file not_null.h.
References gsl::not_null< T >::operator=().
|
default |
|
delete |
|
delete |
|
privateinherited |
Definition at line 107 of file not_null.h.
Referenced by gsl::not_null< T >::get().