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

Description

Test:
Verify an intermediary »Either« type, to embody either a successful result, or document a failure with encountered exception.
  • when given a value, the Result captures it and is in »left« state
  • various value types can be picked up by perfect forwarding
  • when given an exception, the result is in »right« state
  • option-style or-else usage
  • can invoke arbitrary callable and capture result or exception caught
  • invocation also works with void functors, and likewise captures failure
    See also
    result.hpp
    lib::ThreadJoinable usage example

Definition at line 73 of file result-test.cpp.

Private Member Functions

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

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