emulates boost::any
More...
#include <any.h>
|
template<class T > |
using | StorageType = typename std::decay< T >::type |
|
|
| any (const any &that) |
|
| any (any &&that) |
|
template<typename U > |
| any (U &&value) |
|
any & | operator= (const any &a) |
|
template<typename U > |
any & | operator= (U a) |
|
any & | operator= (any &&a) |
|
| operator bool () const |
|
template<class U > |
bool | is () const |
|
template<class U > |
StorageType< U > & | as () |
|
template<class U > |
const StorageType< U > & | as () const |
|
template<class U > |
| operator U () |
|
template<class U >
StorageType<U>& libint2::any::as |
( |
| ) |
|
|
inline |
- Note
- if NDEBUG is not defined, will throw
std::bad_cast
if U is not the stored type
template<class U >
const StorageType<U>& libint2::any::as |
( |
| ) |
const |
|
inline |
- Note
- if NDEBUG is not defined, will throw
std::bad_cast
if U is not the stored type
The documentation for this struct was generated from the following file: