Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
FunctionErasure_test Class Reference

Description

Test:
Create specifically typed functor objects and then wrap them into common holder objects, thereby discarding the specific signature type information. Later on, the concrete functor can be re-accessed, given the exact and specific type.
See also
control::FunErasure
command-mutation.hpp real world usage example

Definition at line 61 of file function-erasure-test.cpp.

Private Member Functions

virtual void run (Arg)
 
void testMemberFunction (char c)
 
void check_FunctorContainer (Efun f1, Efun f2, Efun f3, Efun f4, Efun f5)
 
void check_FunctPtrHolder (Efp f1, Efp f2, Efp f3)
 
void check_VoidPtrHolder (Evoid f1, Evoid f2, Evoid f3)
 
template<class HOL >
void detect_unboundFunctor (HOL h1, HOL h2, HOL h3)
 

Member Function Documentation

◆ run()

virtual void run ( Arg  )
inlineprivatevirtual

Definition at line 64 of file function-erasure-test.cpp.

References FunctionErasure_test::check_FunctorContainer(), FunctionErasure_test::check_FunctPtrHolder(), FunctionErasure_test::check_VoidPtrHolder(), FunctionErasure_test::detect_unboundFunctor(), and FunctionErasure_test::testMemberFunction().

+ Here is the call graph for this function:

◆ testMemberFunction()

void testMemberFunction ( char  c)
inlineprivate
Parameters
cfor checking bind-to member function

Definition at line 88 of file function-erasure-test.cpp.

Referenced by FunctionErasure_test::run().

+ Here is the caller graph for this function:

◆ check_FunctorContainer()

void check_FunctorContainer ( Efun  f1,
Efun  f2,
Efun  f3,
Efun  f4,
Efun  f5 
)
inlineprivate

Definition at line 95 of file function-erasure-test.cpp.

References INSTANCEOF, and VERIFY_ERROR.

Referenced by FunctionErasure_test::run().

+ Here is the caller graph for this function:

◆ check_FunctPtrHolder()

void check_FunctPtrHolder ( Efp  f1,
Efp  f2,
Efp  f3 
)
inlineprivate

Definition at line 147 of file function-erasure-test.cpp.

Referenced by FunctionErasure_test::run().

+ Here is the caller graph for this function:

◆ check_VoidPtrHolder()

void check_VoidPtrHolder ( Evoid  f1,
Evoid  f2,
Evoid  f3 
)
inlineprivate

Definition at line 171 of file function-erasure-test.cpp.

Referenced by FunctionErasure_test::run().

+ Here is the caller graph for this function:

◆ detect_unboundFunctor()

template<class HOL >
void detect_unboundFunctor ( HOL  h1,
HOL  h2,
HOL  h3 
)
inlineprivate

Definition at line 201 of file function-erasure-test.cpp.

Referenced by FunctionErasure_test::run().

+ Here is the caller graph for this function:
+ Inheritance diagram for FunctionErasure_test:
+ Collaboration diagram for FunctionErasure_test:

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