OpenCV  4.1.1-pre
Open Source Computer Vision
Looking for a C++ dev who knows OpenCV?
I'm looking for work. Hire me!
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::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: