LLVM: llvm::DefaultDoCastIfPossible< To, From, Derived (original) (raw)

This cast trait just provides the default implementation of doCastIfPossible to make CastInfo specializations more declarative. More...

#include "[llvm/Support/Casting.h](Casting%5F8h%5Fsource.html)"

Static Public Member Functions
static To doCastIfPossible (From f)

template<typename To, typename From, typename Derived>
struct llvm::DefaultDoCastIfPossible< To, From, Derived >

This cast trait just provides the default implementation of doCastIfPossible to make CastInfo specializations more declarative.

The Derived template parameter must be provided for forwarding castFailed and doCast.

Definition at line 309 of file Casting.h.

doCastIfPossible()

template<typename To, typename From, typename Derived>


The documentation for this struct was generated from the following file: