Lumiera 0.pre.04~rc.1
»edit your freedom«
Loading...
Searching...
No Matches
TupleClosure_test Class Reference

Description

Test:
wrap the constructors for »tuple-like« records as functor and pre-bind some arguments immediately.
  • verify binding flavours for a tuple with mixed types
  • verify binding also works seamlessly with std::array

Definition at line 50 of file tuple-closure-test.cpp.

Private Member Functions

virtual void run (Arg)
 
void tuple_bindFront ()
 
void tuple_bindBack ()
 
void tuple_bindArg ()
 
void array_bindFront ()
 
void array_bindArg ()
 
void verify_AdaptArray ()
 

Member Function Documentation

◆ run()

virtual void run ( Arg  )
inlineprivatevirtual

Definition at line 53 of file tuple-closure-test.cpp.

References TupleClosure_test::array_bindArg(), TupleClosure_test::array_bindFront(), TupleClosure_test::tuple_bindArg(), TupleClosure_test::tuple_bindBack(), TupleClosure_test::tuple_bindFront(), and TupleClosure_test::verify_AdaptArray().

+ Here is the call graph for this function:

◆ tuple_bindFront()

void tuple_bindFront ( )
inlineprivate
Test:
use a regular tuple and pre-fix the first elements

Definition at line 66 of file tuple-closure-test.cpp.

Referenced by TupleClosure_test::run().

+ Here is the caller graph for this function:

◆ tuple_bindBack()

void tuple_bindBack ( )
inlineprivate
Test:
fix elements starting from the end of the tuple

Definition at line 83 of file tuple-closure-test.cpp.

Referenced by TupleClosure_test::run().

+ Here is the caller graph for this function:

◆ tuple_bindArg()

void tuple_bindArg ( )
inlineprivate
Test:
fix specific argument within tuple

Definition at line 103 of file tuple-closure-test.cpp.

Referenced by TupleClosure_test::run().

+ Here is the caller graph for this function:

◆ array_bindFront()

void array_bindFront ( )
inlineprivate
Test:
use a std::array and handle it like a tuple to pre-fix some elements

Definition at line 122 of file tuple-closure-test.cpp.

Referenced by TupleClosure_test::run().

+ Here is the caller graph for this function:

◆ array_bindArg()

void array_bindArg ( )
inlineprivate
Test:
can also use the binding for arbitrary elements in a std::array

Definition at line 137 of file tuple-closure-test.cpp.

Referenced by TupleClosure_test::run().

+ Here is the caller graph for this function:

◆ verify_AdaptArray()

void verify_AdaptArray ( )
inlineprivate
Test:
verify properties of the metaprogramming-adapter, used as seamless overlay to handle std::array in the TUpleClosureBuilder.

Definition at line 156 of file tuple-closure-test.cpp.

Referenced by TupleClosure_test::run().

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

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