ΒΆtemplate <typename To, typename From>
inline bool isa(const From& Val)
template <typename To, typename From>
inline bool isa(const From& Val)
Description
isa <X > - Return true if the parameter to the template is an instance of one of the template type arguments. Used like this: if (isa <Type >(myVal)) { ... } if (isa <Type0 , Type1, Type2>(myVal)) { ... }
Declared at: llvm/include/llvm/Support/Casting.h:548
Templates
- To
- From
Parameters
- const From& Val