Lumiera 0.pre.04~rc.1
»edit your freedom«
Loading...
Searching...
No Matches
visitor-policies.hpp File Reference

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

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"

Namespaces

namespace  lib
 Implementation namespace for support and library code.
 
namespace  lib::visitor
 

Classes

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...
 
struct  ThrowException< RET >
 Policy to throw when encountering an unknown visiting tool. More...