Public Member Functions | Static Public Member Functions | List of all members
CastableTester< C > Struct Template Reference

Checks if the value assigned to a drain::Castable stays same when reassigned. More...

Public Member Functions

template<>
void callback (drain::Castable &c)
 
void callback (drain::Castable &x)
 
void callback (drain::Variable &x)
 
void callback (drain::Reference &x)
 
void callback (drain::FlexibleVariable &x)
 

Static Public Member Functions

template<class T >
static void callback (drain::Castable &c)
 
template<class T >
static void callback (C &c)
 

Detailed Description

template<class C = drain::Castable>
struct CastableTester< C >

Checks if the value assigned to a drain::Castable stays same when reassigned.

Template Parameters
T- base type
Parameters
t- destination Type object
Examples
Castable-example.cpp.

Member Function Documentation

◆ callback() [1/2]

static void callback ( C &  c)
inlinestatic
Template Parameters
T- base type
Parameters
t- destination Type object

◆ callback() [2/2]

static void callback ( drain::Castable c)
inlinestatic
Template Parameters
T- base type
Parameters
t- destination Type object

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