28 typename std::add_lvalue_reference<T>::type
operator*()
const 39 return this->element_;
44 return this->element_ ==
nullptr;
49 return this->element_ !=
nullptr;
62 template <
typename X = T,
63 typename = std::enable_if_t<!std::is_const<X>::value>>
NullablePtr()
Definition: NullablePtr.hpp:11
Definition: Application.cpp:48
T * operator->() const
Definition: NullablePtr.hpp:21
Definition: NullablePtr.hpp:8
bool operator!() const
Definition: NullablePtr.hpp:57
bool hasElement() const
Definition: NullablePtr.hpp:47
NullablePtr(T *element)
Definition: NullablePtr.hpp:16
std::add_lvalue_reference< T >::type operator*() const
Definition: NullablePtr.hpp:28
bool isNull() const
Definition: NullablePtr.hpp:42