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

Description

Test:
Demonstrate a technique to supply additional descriptive ctor arguments in a type safe way.
  • target and receiver may be some configurable Strategy etc.
  • the idea is to provide friend functors, which might tweak or reset internal settings;
  • these functors are packaged into free standing friend functions with intuitive naming...
  • which, on call-site, look like algebraic expressions/data-types.
    Remarks
    because the actual helper function is a free function, it may be integrated in various ways, but typically the support template will be mixed-in, as demonstrated here; this mechanism can be integrated into a constructor call, thus optionally allowing for arbitrary extra qualifiers, even with extra arguments.
    See also
    builder-qualifier-support.hpp

Definition at line 114 of file builder-qualifier-support-test.cpp.

Private Member Functions

void run (Arg)
 
+ Inheritance diagram for BuilderQualifierSupport_test:
+ Collaboration diagram for BuilderQualifierSupport_test:

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