LIBINT
2.6.0
|
a partial C++17 std::any implementation (and less efficient than can be) More...
#include <any.h>
Public Member Functions | |
any (const any &other) | |
any (any &&other)=default | |
template<typename ValueType , typename = detail::disable_if_same_or_derived<any, ValueType>> | |
any (ValueType &&value) | |
any & | operator= (const any &rhs) |
any & | operator= (any &&rhs) |
template<typename ValueType , typename = detail::disable_if_same_or_derived<any, ValueType>> | |
any & | operator= (ValueType &&rhs) |
template<class ValueType , class... Args> | |
std::decay< ValueType >::type & | emplace (Args &&... args) |
template<class ValueType , class U , class... Args> | |
std::decay< ValueType >::type & | emplace (std::initializer_list< U > il, Args &&... args) |
void | reset () |
void | swap (any &other) |
bool | has_value () const |
const std::type_info & | type () const |
Friends | |
template<typename ValueType > | |
std::decay< ValueType >::type * | any_cast (any *operand) |
template<typename ValueType > | |
const std::decay< ValueType >::type * | any_cast (const any *operand) |
a partial C++17 std::any implementation (and less efficient than can be)