any_cast overloads
Declared in <llvm/ADT/Any.h>
Extract a copy of the held value as type T.
template<class T>
T
any_cast(Any& Value);
» more...
Extract a copy of the held value as type T.
template<class T>
T
any_cast(Any const& Value);
» more...
Move the value held in Value out as type T.
template<class T>
T
any_cast(Any&& Value);
» more...
Return a pointer to the held value, or nullptr if the type does not match.
template<class T>
T*
any_cast(Any* Value);
» more...
Return a pointer to the held value, or nullptr if the type does not match.
template<class T>
T const*
any_cast(Any const* Value);
» more...
T.T.T, or nullptr.T, or nullptr.| Name | Description |
|---|---|
| Value | Any whose held value is copied. |