![]() |
MOS Source Code
|
#include <types.hpp>
Public Member Functions | |
| PtrResult (T *value) | |
| PtrResult (int errorCode) | |
| template<typename U> requires std::is_base_of_v<T, U> | |
| PtrResult (PtrResult< U > other) | |
| 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 | |
| Public Member Functions inherited from PtrResultBase | |
| virtual bool | isErr () const final |
| virtual long | getErr () const final |
| operator bool () const | |
Private Attributes | |
| T *const | value |
Additional Inherited Members | |
| Protected Member Functions inherited from PtrResultBase | |
| PtrResultBase () | |
| PtrResultBase (int errorCode) | |
| Protected Attributes inherited from PtrResultBase | |
| const int | errorCode |
|
inline |
Definition at line 79 of file types.hpp.
Referenced by operator==(), and PtrResult().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 106 of file types.hpp.
Referenced by process_do_fork(), and PtrResult().
|
inline |
|
inline |
|
inlineexplicit |
|
private |
Definition at line 76 of file types.hpp.
Referenced by get(), operator bool(), operator*(), operator*(), operator->(), operator->(), operator==(), operator==(), operator==(), PtrResult(), PtrResult(), and PtrResult().