OpenCV
4.1.2
Open Source Computer Vision
|
#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 |
|
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 |