struct ValueFromPointerCast
Declaration
template <typename To, typename From, typename Derived = void>
struct ValueFromPointerCast { /* full declaration omitted */ };
Description
This cast trait provides casting for the specific case of casting to a value-typed object from a pointer-typed object. Note that `To` must be nullable/constructible from a pointer to `From` to use this cast.
Declared at: llvm/include/llvm/Support/Casting.h:330
Templates
- To
- From
- Derived = void
Method Overview
- public static inline To doCast(From * f)
Methods
ΒΆstatic inline To doCast(From* f)
static inline To doCast(From* f)
Declared at: llvm/include/llvm/Support/Casting.h:336
Parameters
- From* f