3-phase PV router
Loading...
Searching...
No Matches
Static Public Attributes | Static Protected Member Functions | Static Protected Attributes | List of all members
is_convertible< From, To > Struct Template Reference

#include <is_convertible.hpp>

Static Public Attributes

static const bool value = sizeof(probe(from_)) == sizeof(int)
 

Static Protected Member Functions

static char probe (...)
 
static int probe (To)
 

Static Protected Attributes

static From & from_
 

Detailed Description

template<typename From, typename To>
struct is_convertible< From, To >

Definition at line 22 of file is_convertible.hpp.

Member Function Documentation

◆ probe() [1/2]

template<typename From , typename To >
static char is_convertible< From, To >::probe (   ...)
staticprotected

◆ probe() [2/2]

template<typename From , typename To >
static int is_convertible< From, To >::probe ( To  )
staticprotected

Member Data Documentation

◆ from_

template<typename From , typename To >
From& is_convertible< From, To >::from_
staticprotected

Definition at line 28 of file is_convertible.hpp.

◆ value

template<typename From , typename To >
const bool is_convertible< From, To >::value = sizeof(probe(from_)) == sizeof(int)
static

Definition at line 31 of file is_convertible.hpp.


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