OpenCV
4.5.0
Open Source Computer Vision
|
Namespaces | |
detail | |
Classes | |
class | any |
class | bad_any_cast |
class | bad_optional_access |
class | bad_variant_access |
struct | monostate |
class | optional |
struct | type_list_index |
class | variant |
Typedefs | |
template<class T , class U , class V = void> | |
using | are_different_t = enable_if_t< !std::is_same< decay_t< T >, decay_t< U > >::value, V > |
template<typename T > | |
using | decay_t = typename std::decay< T >::type |
template<bool B, class T = void> | |
using | enable_if_t = typename std::enable_if< B, T >::type |
Functions | |
template<class value_t > | |
value_t * | any_cast (any *operand) |
template<class value_t > | |
const value_t * | any_cast (const any *operand) |
template<class value_t > | |
value_t & | any_cast (any &operand) |
template<class value_t > | |
const value_t & | any_cast (const any &operand) |
template<typename T , typename... Types> | |
T & | get (util::variant< Types... > &v) |
template<typename T , typename... Types> | |
const T & | get (const util::variant< Types... > &v) |
template<typename T , typename... Types> | |
T * | get_if (util::variant< Types... > *v) noexcept |
template<typename T , typename... Types> | |
const T * | get_if (const util::variant< Types... > *v) noexcept |
template<typename T , typename... Types> | |
bool | holds_alternative (const util::variant< Types... > &v) noexcept |
template<class T > | |
optional< typename std::decay< T >::type > | make_optional (T &&value) |
template<typename... Us> | |
bool | operator!= (const variant< Us... > &lhs, const variant< Us... > &rhs) |
bool | operator== (const util::monostate &, const util::monostate &) |
template<typename... Us> | |
bool | operator== (const variant< Us... > &lhs, const variant< Us... > &rhs) |
template<typename T > | |
void | suppress_unused_warning (const T &) |
Utility template function to prevent "unused" warnings by various compilers. More... | |
template<class ExceptionType > | |
void | throw_error (ExceptionType &&e) |
template<class value_t > | |
value_t & | unsafe_any_cast (any &operand) |
template<class value_t > | |
const value_t & | unsafe_any_cast (const any &operand) |
using cv::util::are_different_t = typedef enable_if_t< !std::is_same<decay_t<T>, decay_t<U> >::value, V> |
using cv::util::decay_t = typedef typename std::decay<T>::type |
using cv::util::enable_if_t = typedef typename std::enable_if<B,T>::type |
value_t* cv::util::any_cast | ( | any * | operand | ) |
const value_t* cv::util::any_cast | ( | const any * | operand | ) |
value_t& cv::util::any_cast | ( | any & | operand | ) |
const value_t& cv::util::any_cast | ( | const any & | operand | ) |
T & cv::util::get | ( | util::variant< Types... > & | v | ) |
const T & cv::util::get | ( | const util::variant< Types... > & | v | ) |
|
noexcept |
|
noexcept |
|
noexcept |
optional< typename std::decay< T >::type > cv::util::make_optional | ( | T && | value | ) |
bool cv::util::operator!= | ( | const variant< Us... > & | lhs, |
const variant< Us... > & | rhs | ||
) |
|
inline |
bool cv::util::operator== | ( | const variant< Us... > & | lhs, |
const variant< Us... > & | rhs | ||
) |
void cv::util::suppress_unused_warning | ( | const T & | ) |
Utility template function to prevent "unused" warnings by various compilers.
void cv::util::throw_error | ( | ExceptionType && | e | ) |
|
inline |
|
inline |