any_state Class Reference
Polymorphically holds any value implementing the state_traits
.
More...
#include <atria/xform/any_state.hpp>
Public Member Functions | |
any_state (any_state &&other) | |
any_state (const any_state &other) | |
template<typename ValueType > | |
any_state (ValueType &&value, estd::enable_if_t< !std::is_base_of< any_state, estd::decay_t< ValueType > >::value &&!std::is_base_of< meta::bottom, estd::decay_t< ValueType > >::value > *=0) | |
any_state & | operator= (any_state &&other) |
any_state & | operator= (const any_state &rhs) |
template<typename ValueType > | |
auto | operator= (ValueType &&rhs) -> estd::enable_if_t< !std::is_base_of< any_state, estd::decay_t< ValueType > >::value, any_state & > |
template<typename T > | |
estd::decay_t< T > & | as ()& |
template<typename T > | |
estd::decay_t< T > && | as ()&& |
template<typename T > | |
const estd::decay_t< T > & | as () const & |
template<typename T > | |
void | check () const |
template<typename T > | |
bool | has () const |
const std::type_info & | type () const noexcept |
Friends | |
struct | state_traits< any_state > |
Detailed Description
Polymorphically holds any value implementing the state_traits
.
This type is used for the implementation of transducer
.
Definition at line 48 of file any_state.hpp.
The documentation for this class was generated from the following file:
- src/atria/xform/any_state.hpp