DigitalSpaces::Variant::getGenericVisitor< GetType > Struct Template Reference
Inherits
boost::static_visitor< GetType & >.
Detailed Description
template<typename GetType>
struct DigitalSpaces::Variant::getGenericVisitor< GetType >
Generic visitor that returns the value if its the right type, otherwise returns a provided "bad" (or default) value.
- Note:
- Possibly could be done with using get, with a catch. This way is done at compile time, though?
Constructor & Destructor Documentation
template<typename GetType>
Member Function Documentation
template<typename GetType>
template<typename incorrect_type>
template<typename GetType>
template<>
Field Documentation
template<typename GetType>
The documentation for this struct was generated from the following file: