A class that can hold any other object. Similar to boost::any but includes also a from_string method.
More...
#include <any.h>
|
| | any () |
| | Creates an empty element.
|
| | any (const any &other) |
| template<class T> |
| | any (const T &t) |
| | Creates an element holding the value t.
|
| bool | empty () const |
| | Tests, whether the element is empty or not.
|
| any & | operator= (const any &other) |
| template<class to_value> |
| to_value const * | to_ptr () const |
| const std::type_info & | type () const |
| | ~any () |
A class that can hold any other object. Similar to boost::any but includes also a from_string method.
◆ any() [1/3]
| tigl::disable_adl::any::any |
( |
| ) |
|
|
inline |
Creates an empty element.
◆ any() [2/3]
template<class T>
| tigl::disable_adl::any::any |
( |
const T & | t | ) |
|
|
inline |
Creates an element holding the value t.
◆ any() [3/3]
| tigl::disable_adl::any::any |
( |
const any & | other | ) |
|
|
inline |
◆ ~any()
| tigl::disable_adl::any::~any |
( |
| ) |
|
|
inline |
◆ empty()
| bool tigl::disable_adl::any::empty |
( |
| ) |
const |
|
inline |
Tests, whether the element is empty or not.
◆ operator=()
| any & tigl::disable_adl::any::operator= |
( |
const any & | other | ) |
|
|
inline |
◆ to_ptr()
template<class to_value>
| to_value const * tigl::disable_adl::any::to_ptr |
( |
| ) |
const |
|
inline |
◆ type()
| const std::type_info & tigl::disable_adl::any::type |
( |
| ) |
const |
|
inline |
◆ from_string
| void from_string |
( |
const std::string & | s, |
|
|
any & | a ) |
|
friend |
◆ pimpl
The documentation for this class was generated from the following file: