OpenCV  4.0.1
Open Source Computer Vision
Classes | Namespaces | Typedefs | Functions
variant.hpp File Reference
#include <array>
#include <type_traits>
#include "opencv2/gapi/util/throw.hpp"
#include "opencv2/gapi/util/util.hpp"

Classes

class  cv::util::bad_variant_access
 
struct  cv::util::monostate
 
struct  cv::util::type_list_index< Target, Types >
 
struct  cv::util::detail::type_list_index_helper< I, Target, First, Remaining >
 
struct  cv::util::detail::type_list_index_helper< I, Target, First >
 
class  cv::util::variant< Ts >
 

Namespaces

 cv
 "black box" representation of the file storage associated with a file on disk.
 
 cv::util
 
 cv::util::detail
 

Typedefs

template<class T , class U , class V >
using cv::util::detail::are_different = std::enable_if<!std::is_same< typename std::decay< T >::type, typename std::decay< U >::type >::value, V >
 

Functions

template<typename T , typename... Types>
T & cv::util::get (util::variant< Types... > &v)
 
template<typename T , typename... Types>
const T & cv::util::get (const util::variant< Types... > &v)
 
template<typename T , typename... Types>
bool cv::util::holds_alternative (const util::variant< Types... > &v) noexcept
 
template<typename... Us>
bool cv::util::operator!= (const variant< Us... > &lhs, const variant< Us... > &rhs)
 
bool cv::util::operator== (const util::monostate &, const util::monostate &)
 
template<typename... Us>
bool cv::util::operator== (const variant< Us... > &lhs, const variant< Us... > &rhs)