cheshirekow  v0.1.0
kw::is_call_possible< type, call_details > Struct Template Reference

#include <kwargs/is_call_possible.h>

Classes

struct  derived
 A class which will definitely have a function call operator. If type has a function call operator then derived will also have that same operator available; If type does not have a function call operator, then the only function call operator available to derived is the one returning a no. More...
 
struct  Dispatcher
 
struct  Dispatcher< Tail >
 
struct  impl
 Default template, HasFnCallOperator is false so obviously no function call is possible. More...
 
struct  impl< true, r(args...)>
 
class  no
 
struct  return_value_check
 Provides a member function deduce() which accepts any parameters and whose return type is always no except for when the single parameter matches DesiredReturnType More...
 
struct  return_value_check< T, void >
 If the desired return type is void, then we will ignore the return value of the function call anyway, so it doesn't matter what the return value is... Any return value will be compatable. More...
 
class  yes
 

Static Public Attributes

static const bool value = impl<has_member<type>::result, call_details>::value
 

Private Types

typedef
details::clone_constness< type,
derived >::type 
derived_type
 Same as derived but with the same const-ness as type. More...
 

Detailed Description

template<typename type, typename call_details>
struct kw::is_call_possible< type, call_details >

Definition at line 100 of file is_call_possible.h.

Member Typedef Documentation

template<typename type , typename call_details >
typedef details::clone_constness<type, derived>::type kw::is_call_possible< type, call_details >::derived_type
private

Same as derived but with the same const-ness as type.

Definition at line 119 of file is_call_possible.h.

Member Data Documentation

template<typename type , typename call_details >
const bool kw::is_call_possible< type, call_details >::value = impl<has_member<type>::result, call_details>::value
static

Definition at line 203 of file is_call_possible.h.


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