Lumiera 0.pre.04~rc.1
»edit your freedom«
Loading...
Searching...
No Matches
verb-visitor-dispatch-test.cpp File Reference

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

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>

Namespaces

namespace  lib
 Implementation namespace for support and library code.
 
namespace  lib::test
 Unit tests for the Lumiera support library.
 
namespace  lib::test::anonymous_namespace{verb-visitor-dispatch-test.cpp}
 

Typedefs

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

Classes

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  DiagnosticRenderer
 another concrete receiver to report any invocation with arguments More...
 
class  VerbVisitorDispatch_test
 

Functions

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