![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <catch.hpp>
Public Member Functions | |
Option () | |
Option (T const &_value) | |
Option (Option const &_other) | |
~Option () | |
Option & | operator= (Option const &_other) |
Option & | operator= (T const &_value) |
void | reset () |
T & | operator* () |
T const & | operator* () const |
T * | operator-> () |
const T * | operator-> () const |
T | valueOr (T const &defaultValue) const |
bool | some () const |
bool | none () const |
bool | operator! () const |
operator bool () const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 4437 of file catch.hpp.
Referenced by ~Option(), operator=(), and operator=().
|
inline |
Definition at line 4452 of file catch.hpp.
Referenced by operator bool().
|
inline |