OpenCV
4.6.0
Open Source Computer Vision
|
#include <opencv2/gapi/util/optional.hpp>
Public Member Functions | |
optional () | |
optional (const optional &)=default | |
optional (T &&) noexcept | |
optional (const T &) 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 &)=default |
optional & | operator= (optional &&) |
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 |