Lumiera  0.pre.03
»edit your freedom«
visitor-policies.hpp File Reference

Go to the source code of this file.

Description

Policies usable for configuring the lib::visitor::Tool for different kinds of error handling.

See also
buildertool.hpp for another flavour (calling an catch-all-function there)

Definition in file visitor-policies.hpp.

#include "lib/error.hpp"

Classes

struct  ThrowException< RET >
 Policy to throw when encountering an unknown visiting tool. More...
 
struct  UseDefault< RET >
 Policy returning just the default return value in case of encountering an unknown Visitor (typically caused by adding a new class to the visitable hierarchy) More...
 

Namespaces

 lib
 Implementation namespace for support and library code.