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

Description

Test:
cover the essential properties of Lumiera's lightweight variant record.
  • this typesafe union can never be constructed empty
  • it defaults to the default constructed first type in list
  • it is copyable and assignable, but only with compatible type
  • value access requires knowledge of the contained type
  • generic visitor style access
See also
lib::Variant
util::AccessCasted
lib::OpaqueHolder
TreeMutator_test

Definition at line 64 of file variant-test.cpp.

Private Member Functions

void acceptPredicate ()
 
void accessVariant ()
 
void createVariant ()
 
virtual void run (Arg)
 
void verifyAssignment ()
 
+ Inheritance diagram for Variant_test:
+ Collaboration diagram for Variant_test:

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