OpenCV  3.4.14
Open Source Computer Vision
Classes | Public Types | Static Public Member Functions | List of all members
cv::cudev::IsUnaryFunction< F > Struct Template Reference

#include <opencv2/cudev/functional/functional.hpp>

Classes

struct  No
 

Public Types

enum  { value = (sizeof(check(makeF())) == sizeof(Yes)) }
 
typedef char Yes
 

Static Public Member Functions

template<typename T , typename D >
static Yes check (unary_function< T, D >)
 
static No check (...)
 
static F makeF ()
 

Member Typedef Documentation

◆ Yes

template<typename F >
typedef char cv::cudev::IsUnaryFunction< F >::Yes

Member Enumeration Documentation

◆ anonymous enum

template<typename F >
anonymous enum
Enumerator
value 

Member Function Documentation

◆ check() [1/2]

template<typename F >
template<typename T , typename D >
static Yes cv::cudev::IsUnaryFunction< F >::check ( unary_function< T, D >  )
static

◆ check() [2/2]

template<typename F >
static No cv::cudev::IsUnaryFunction< F >::check (   ...)
static

◆ makeF()

template<typename F >
static F cv::cudev::IsUnaryFunction< F >::makeF ( )
static

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