join 1.0
lightweight network framework library
Loading...
Searching...
No Matches
variant.hpp File Reference
#include <join/traits.hpp>
#include <algorithm>
#include <typeinfo>
Include dependency graph for variant.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  join::details::is_first_default_constructible< Ts >
 check that first alternative is default constructible. More...
 
struct  join::details::VariantHelper< Ts >
 helper class for variant creation/deletion. More...
 
struct  join::details::VariantHelper< Last >
 helper class for recursive operations. More...
 
struct  join::details::VariantHelper< First, Ts... >
 helper class for recursive operations. More...
 
struct  join::details::VariantStorage< Ts >
 helper class representing a variant storage in order to be able to disable default/copy/move constructors/operators. More...
 
class  join::Variant< Ts >
 variant class. More...
 

Namespaces

namespace  join
 
namespace  join::details
 

Functions

template<typename... Ts>
constexpr bool join::operator== (const Variant< Ts... > &lhs, const Variant< Ts... > &rhs)
 compare if equal.
 
template<typename... Ts>
constexpr bool join::operator!= (const Variant< Ts... > &lhs, const Variant< Ts... > &rhs)
 compare if not equal.
 
template<typename... Ts>
constexpr bool join::operator< (const Variant< Ts... > &lhs, const Variant< Ts... > &rhs)
 compare if lower than.
 
template<typename... Ts>
constexpr bool join::operator> (const Variant< Ts... > &lhs, const Variant< Ts... > &rhs)
 compare if greater than.
 
template<typename... Ts>
constexpr bool join::operator<= (const Variant< Ts... > &lhs, const Variant< Ts... > &rhs)
 compare if lower or equal than.
 
template<typename... Ts>
constexpr bool join::operator>= (const Variant< Ts... > &lhs, const Variant< Ts... > &rhs)
 compare if greater or equal than.