cheshirekow  v0.1.0
kw::CanConvertTo< SourceType, TargetType > Struct Template Reference

#include <kwargs/is_call_possible.h>

Classes

class  No
 
class  Yes
 

Static Public Attributes

static constexpr bool value = sizeof(Deduce(*(SourceType*)0)) == sizeof(Yes)
 

Static Private Member Functions

static Yes Deduce (TargetType)
 
static No Deduce (...)
 

Detailed Description

template<typename SourceType, typename TargetType>
struct kw::CanConvertTo< SourceType, TargetType >

Definition at line 207 of file is_call_possible.h.

Member Function Documentation

template<typename SourceType , typename TargetType >
static Yes kw::CanConvertTo< SourceType, TargetType >::Deduce ( TargetType  )
staticprivate
template<typename SourceType , typename TargetType >
static No kw::CanConvertTo< SourceType, TargetType >::Deduce (   ...)
staticprivate

Member Data Documentation

template<typename SourceType , typename TargetType >
constexpr bool kw::CanConvertTo< SourceType, TargetType >::value = sizeof(Deduce(*(SourceType*)0)) == sizeof(Yes)
static

Definition at line 223 of file is_call_possible.h.


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