OpenCV  4.0.1
Open Source Computer Vision
Classes | Public Types | Static Public Member Functions | Static Public Attributes | List of all members
cv::detail::has_custom_wrap< T > Struct Template Reference

#include "gtype_traits.hpp"

Classes

class  check
 

Public Types

using type = decltype(test< T >(nullptr))
 

Static Public Member Functions

template<typename C >
static std::true_type test (check< C, decltype(&GTypeTraits< C >::wrap_value)> *)
 
template<typename C >
static std::false_type test (...)
 

Static Public Attributes

static const constexpr bool value = std::is_same<std::true_type, decltype(test<T>(nullptr))>::value
 

Member Typedef Documentation

§ type

template<class T >
using cv::detail::has_custom_wrap< T >::type = decltype(test<T>(nullptr))

Member Function Documentation

§ test() [1/2]

template<class T >
template<typename C >
static std::true_type cv::detail::has_custom_wrap< T >::test ( check< C, decltype(&GTypeTraits< C >::wrap_value)> *  )
static

§ test() [2/2]

template<class T >
template<typename C >
static std::false_type cv::detail::has_custom_wrap< T >::test (   ...)
static

Member Data Documentation

§ value

template<class T >
const constexpr bool cv::detail::has_custom_wrap< T >::value = std::is_same<std::true_type, decltype(test<T>(nullptr))>::value
static

The documentation for this struct was generated from the following file: