OpenCV 4.10.0
开源计算机视觉库
|
#include <opencv2/gapi/util/optional.hpp>
公有成员函数 | |
optional () | |
optional (const optional &)=default | |
optional (const T &) noexcept | |
optional (optional &&) noexcept | |
optional (T &&) 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 |