- Aldebaran documentation |
- C++ Libraries |
- index

libqi-api 2.8.7.4

- Main Page
- Related Pages
- Namespaces
- Classes
- Files
- Examples

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Typedefs | Functions
either.hpp File Reference
`#include <boost/variant.hpp>`
`#include <ka/utility.hpp>`

Go to the source code of this file.

## Namespaces
| qi
| Deprecated in 2.5. Use int8_t from <cstdint>.

## Typedefs
template<typename A , typename B >
using | qi::Either = boost::variant< A, B >
| Convenient alias to a variant of two types. More...
template<typename T >
using | qi::VisitorBase = boost::static_visitor< T >

## Functions
template<typename Proc , typename T >
auto | qi::visit (Proc &&proc, T &&variant) -> decltype(boost::apply_visitor(ka::fwd< Proc >(proc), ka::fwd< T >(variant)))