|
LLVM 22.0.0git
|
#include "llvm/ADT/Any.h"
Public Member Functions | |
| Any ()=default | |
| Any (const Any &Other) | |
| template<typename T, std::enable_if_t< std::conjunction< std::negation< std::is_same< std::decay_t< T >, Any > >, std::negation< std::is_convertible< Any, std::decay_t< T > > >, std::is_copy_constructible< std::decay_t< T > > >::value, int > = 0> | |
| Any (T &&Value) | |
| Any (Any &&Other) | |
| Any & | swap (Any &Other) |
| Any & | operator= (Any Other) |
| bool | has_value () const |
| void | reset () |
Friends | |
| template<class T> | |
| T | any_cast (const Any &Value) |
| template<class T> | |
| T | any_cast (Any &Value) |
| template<class T> | |
| T | any_cast (Any &&Value) |
| template<class T> | |
| const T * | any_cast (const Any *Value) |
| template<class T> | |
| T * | any_cast (Any *Value) |
|
default |
Definition at line 65 of file Any.h.
References Any(), and llvm::Other.
|
inline |
Definition at line 93 of file Any.h.
References Any(), llvm::move(), and llvm::Other.
Definition at line 100 of file Any.h.
References Any(), and llvm::Other.
Definition at line 95 of file Any.h.
References Any(), llvm::Other, and std::swap().