Lumiera  0.pre.03
»edit your freedom«
StoreUncheckedFunPtr Class Reference

#include "lib/meta/function-erasure.hpp"

Description

Policy for FunErasure: store an unchecked bare function pointer.

Using this policy allows to store a conventional function ptr, and to retrieve it without overhead, but also without safety.

Definition at line 172 of file function-erasure.hpp.

Public Member Functions

template<typename SIG >
 StoreUncheckedFunPtr (SIG &fun)
 
template<typename SIG >
 StoreUncheckedFunPtr (SIG *fun)
 
template<typename SIG >
SIG & getFun ()
 
bool isValid () const
 
 operator bool () const
 

Private Attributes

void * funP_
 
+ Collaboration diagram for StoreUncheckedFunPtr:

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