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.

Template Parameters
  • DstType – Type of the destination class

  • SrcType – Type of the source class

Parameters

src – source object

Returns

True or False