Lumiera  0.pre.03
»edit your freedom«
verb-visitor-dispatch-test.cpp File Reference

Go to the source code of this file.

Description

Demonstrate the extended concept of a verb language based on double dispatch.

See also
body-canvas-widget.hpp

Definition in file verb-visitor-dispatch-test.cpp.

#include "lib/test/run.hpp"
#include "lib/verb-visitor.hpp"
#include "lib/format-string.hpp"
#include "lib/format-cout.hpp"
#include "lib/format-util.hpp"
#include "lib/meta/tuple-helper.hpp"
#include "lib/iter-explorer.hpp"
#include <string>
#include <vector>
#include <tuple>

Classes

class  DiagnosticRenderer
 another concrete receiver to report any invocation with arguments More...
 
class  Receiver
 the "visitor" interface used by all VerbPacks in this test More...
 
class  VerboseRenderer
 a concrete receiver of verb-tokens, which renders them verbosely More...
 
class  VerbVisitorDispatch_test
 

Typedefs

using Token = VerbPack< Receiver, string, sizeof(string)>
 
using TokenSeq = vector< Token >
 

Functions

 LAUNCHER (VerbVisitorDispatch_test, "unit common")
 Register this test class... More...
 

Namespaces

 lib
 Implementation namespace for support and library code.
 

Function Documentation

◆ LAUNCHER()

lib::test::LAUNCHER ( VerbVisitorDispatch_test  ,
"unit common"   
)

Register this test class...