Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include <qmaybe_p.h>
Public Member Functions | |
QMaybe (const Value &v) | |
QMaybe (Value &&v) | |
QMaybe (const QMaybe &other)=default | |
QMaybe & | operator= (const QMaybe &other)=default |
QMaybe (const Error &error) | |
template<class... Args> | |
QMaybe (QUnexpect, Args &&...args) | |
constexpr | operator bool () const noexcept |
constexpr Value & | value () |
constexpr const Value & | value () const |
constexpr Value * | operator-> () noexcept |
constexpr const Value * | operator-> () const noexcept |
constexpr Value & | operator* () &noexcept |
constexpr const Value & | operator* () const &noexcept |
constexpr const Error & | error () const |
Definition at line 33 of file qmaybe_p.h.
|
inline |
Definition at line 36 of file qmaybe_p.h.
|
inline |
Definition at line 45 of file qmaybe_p.h.
|
default |
|
inline |
Definition at line 58 of file qmaybe_p.h.
|
inline |
Definition at line 61 of file qmaybe_p.h.
References Error.
|
inlineconstexpr |
Definition at line 87 of file qmaybe_p.h.
Referenced by QFFmpegAudioDecoder::start().
|
inlineexplicitconstexprnoexcept |
Definition at line 67 of file qmaybe_p.h.
|
inlineconstexprnoexcept |
Definition at line 84 of file qmaybe_p.h.
References QMaybe< Value, Error >::value().
|
inlineconstexprnoexcept |
Definition at line 85 of file qmaybe_p.h.
References QMaybe< Value, Error >::value().
|
inlineconstexprnoexcept |
Definition at line 82 of file qmaybe_p.h.
References QMaybe< Value, Error >::value().
|
inlineconstexprnoexcept |
Definition at line 81 of file qmaybe_p.h.
References QMaybe< Value, Error >::value().
|
default |
|
inlineconstexpr |
Definition at line 69 of file qmaybe_p.h.
References Q_ASSERT.
Referenced by QMaybe< Value, Error >::operator*(), QMaybe< Value, Error >::operator*(), QMaybe< Value, Error >::operator->(), QMaybe< Value, Error >::operator->(), and QFFmpegAudioDecoder::start().
|
inlineconstexpr |
Definition at line 75 of file qmaybe_p.h.
References Q_ASSERT.