Loading...
Searching...
No Matches
cv::util::optional< T > Class Template Reference
#include <opencv2/gapi/util/optional.hpp>
Public Member Functions | |
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 |
Constructor & Destructor Documentation
◆ optional() [1/5]
template<typename T >
|
inline |
◆ optional() [2/5]
template<typename T >
|
default |
◆ optional() [3/5]
template<class T >
|
explicitnoexcept |
◆ optional() [4/5]
template<class T >
|
explicitnoexcept |
◆ optional() [5/5]
template<class T >
|
noexcept |
Member Function Documentation
◆ has_value()
template<class T >
|
noexcept |
◆ operator bool()
template<class T >
|
noexcept |
◆ operator*() [1/2]
template<class T >
T & cv::util::optional< T >::operator* |
◆ operator*() [2/2]
template<class T >
const T & cv::util::optional< T >::operator* |
◆ operator->() [1/2]
template<class T >
T * cv::util::optional< T >::operator-> |
◆ operator->() [2/2]
template<class T >
const T * cv::util::optional< T >::operator-> |
◆ operator=() [1/2]
template<typename T >
|
default |
◆ operator=() [2/2]
template<class T >
optional< T > & cv::util::optional< T >::operator= | ( | optional< T > && | rhs | ) |
◆ reset()
template<class T >
|
noexcept |
◆ swap()
template<class T >
|
noexcept |
◆ value() [1/2]
template<class T >
T & cv::util::optional< T >::value |
◆ value() [2/2]
template<class T >
const T & cv::util::optional< T >::value |
◆ value_or()
template<class T >
template<class U >
T cv::util::optional< T >::value_or | ( | U && | default_value | ) | const |
The documentation for this class was generated from the following file:
- opencv2/gapi/util/optional.hpp