Public Types | Public Member Functions | Friends
efl::eina::variant< Args > Struct Template Reference

Public Types

typedef variant< Args... > _self_type
 Type for the optional class itself. More...
 

Public Member Functions

template<typename T >
 variant (T object, typename std::enable_if< _impl::is_one_of< typename std::remove_cv< typename std::remove_reference< T >::type >::type, Args... >::value >::type *=0)
 
 variant (variant const &other)
 
variantoperator= (variant const &other)
 
 variant (variant &&other)
 
variantoperator= (variant &&other)
 
void destroy ()
 
void destroy_unsafe ()
 
bool empty () const
 
template<typename F >
F::result_type visit (F f) const
 
template<typename F >
F::result_type visit (F f)
 
template<typename F >
F::result_type visit_unsafe (F f) const
 
template<typename F >
F::result_type visit_unsafe (F f)
 

Friends

bool operator== (variant< Args... > const &lhs, variant< Args... > const &rhs)
 

Member Typedef Documentation

◆ _self_type

template<typename... Args>
typedef variant<Args...> efl::eina::variant< Args >::_self_type

Type for the optional class itself.