![]() |
MOS Source Code
|
#include <types.hpp>
Public Member Functions | |
PtrResult (T *value) | |
PtrResult (int errorCode) | |
std::add_lvalue_reference< T >::type | operator* () |
const std::add_lvalue_reference< T >::type & | operator* () const |
T * | operator-> () |
const T * | operator-> () const |
T * | get () const |
bool | operator== (const std::nullptr_t) const |
bool | operator== (const PtrResult< T > &other) const |
bool | operator== (const T *other) const |
operator bool () const | |
![]() | |
virtual bool | isErr () const final |
virtual long | getErr () const final |
operator bool () const | |
Private Attributes | |
T *const | value |
Additional Inherited Members | |
![]() | |
PtrResultBase () | |
PtrResultBase (int errorCode) | |
![]() | |
const int | errorCode |
|
inline |
Definition at line 77 of file types.hpp.
Referenced by operator==().
|
inline |
|
inline |
|
inline |
Definition at line 101 of file types.hpp.
Referenced by process_do_fork().
|
inline |
|
inline |
|
inlineexplicit |
|
private |
Definition at line 74 of file types.hpp.
Referenced by get(), operator bool(), operator*(), operator*(), operator->(), operator->(), operator==(), operator==(), operator==(), PtrResult(), and PtrResult().