OpenCV 4.10.0-dev
Open Source Computer Vision
Loading...
Searching...
No Matches
cv::detail::has_custom_wrap< T > Struct Template Reference

#include <opencv2/gapi/gtype_traits.hpp>

Collaboration diagram for cv::detail::has_custom_wrap< T >:

Classes

class  check
 

Public Types

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

Static Public Member Functions

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

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::false_type cv::detail::has_custom_wrap< T >::test ( ...)
static

◆ test() [2/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

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
staticconstexpr

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