Lumiera  0.pre.03
»edit your freedom«
AccessCasted< TAR > Struct Template Reference

#include "lib/access-casted.hpp"

Description

template<typename TAR>
struct util::AccessCasted< TAR >

Helper template to access a given value, possibly converted or casted in a safe way.

Definition at line 152 of file access-casted.hpp.

Public Types

typedef TAR Ret
 

Static Public Member Functions

template<typename SRC >
static if_can_use_dynamic_downcast< SRC &&, TAR >::type access (SRC &&elem)
 
template<typename SRC >
static if_can_use_conversion< SRC &&, TAR >::type access (SRC &&elem)
 
template<typename SRC >
static if_can_take_address< SRC &&, TAR >::type access (SRC &&elem)
 
template<typename SRC >
static if_can_dereference< SRC &&, TAR >::type access (SRC &&elem)
 
static TAR access (...)
 catch-all to signal failure of conversion
 
+ Collaboration diagram for AccessCasted< TAR >:

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