#include <opencv2/gapi/util/optional.hpp>
Public Member Functions | |
optional () | |
optional (const optional &)=default | |
optional (T &&value) noexcept | |
optional (const T &value) noexcept | |
optional (optional &&) noexcept | |
bool | has_value () const noexcept |
operator bool () const noexcept | |
T & | operator* () |
const T & | operator* () const |
T * | operator-> () |
const T * | operator-> () const |
optional & | operator= (const optional &rhs)=default |
optional & | operator= (optional &&rhs) |
void | reset () noexcept |
void | swap (optional &other) noexcept |
T & | value () |
const T & | value () const |
template<class U > | |
T | value_or (U &&default_value) const |
|
inline |
References cv::util::make_optional(), cv::operator*(), and cv::swap().
|
default |
|
explicitnoexcept |
|
explicitnoexcept |
|
noexcept |
|
noexcept |
|
noexcept |
T & cv::util::optional< T >::operator* | ( | ) |
const T & cv::util::optional< T >::operator* | ( | ) | const |
T * cv::util::optional< T >::operator-> | ( | ) |
const T * cv::util::optional< T >::operator-> | ( | ) | const |
|
default |
optional< T > & cv::util::optional< T >::operator= | ( | optional< T > && | rhs | ) |
|
noexcept |
|
noexcept |
T & cv::util::optional< T >::value | ( | ) |
const T & cv::util::optional< T >::value | ( | ) | const |
T cv::util::optional< T >::value_or | ( | U && | default_value | ) | const |