variant.h File Reference
#include <variant>
#include <boost/variant.hpp>
+ Include dependency graph for variant.h:

Go to the source code of this file.

Namespaces

 armarx
 This file offers overloads of toIce() and fromIce() functions for STL container types.
 
 boost
 

Typedefs

template<int N, class... Ts>
using NthTypeOf = typename std::tuple_element< N, std::tuple< Ts... > >::type
 
template<int N, class... Ts>
using NthTypeOf = typename std::tuple_element< N, std::tuple< Ts... > >::type
 

Functions

template<int N, class... Ts>
auto & get_index (boost::variant< Ts... > &v)
 
template<int N, class... Ts>
const auto & get_index (const boost::variant< Ts... > &v)
 
template<int N, class... Ts>
auto * get_index_ptr (boost::variant< Ts... > &v)
 
template<int N, class... Ts>
const auto * get_index_ptr (const boost::variant< Ts... > &v)
 
template<int N, class... Ts>
const auto * get_index_ptr (const std::variant< Ts... > &v)
 
template<int N, class... Ts>
auto * get_index_ptr (std::variant< Ts... > &v)