Template Function blackbird::is_type

Function Documentation

template<class DstType, class SrcType>
bool blackbird::is_type(const SrcType *src)

Checks if a class are of the same derived type as another.

Return
True or False
Template Parameters
  • DstType: Type of the destination class
  • SrcType: Type of the source class
Parameters
  • src: source object