Lumiera  0.pre.03
»edit your freedom«
has_FunctionOperator< FUN > Class Template Reference

#include "lib/meta/util.hpp"

Description

template<typename FUN>
class lib::meta::has_FunctionOperator< FUN >

Trait template to detect presence of a simple function call operator.

Note
this metafunction fails to detect an overloaded or templated operator()

Definition at line 224 of file meta/util.hpp.

Static Public Attributes

static const bool value = (sizeof(Yes_t)==sizeof(check<FUN>(0)))
 

Classes

struct  Probe
 

Static Private Member Functions

template<class X >
static Yes_t check (Probe< X > *)
 
template<class >
static No_t check (...)
 

Class Documentation

◆ lib::meta::has_FunctionOperator::Probe

struct lib::meta::has_FunctionOperator::Probe
+ Collaboration diagram for has_FunctionOperator< FUN >::Probe< FF, SEL >:
+ Collaboration diagram for has_FunctionOperator< FUN >:

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