44 #ifndef B_EVIL_DEF_HPP
45 #define B_EVIL_DEF_HPP
63 std::cout <<
typeName(*
this) <<
" call AEvil: ";
72 std::cout <<
typeName(*
this) <<
" obj = " << obj <<
"\n";
79 #endif // B_EVIL_DEF_HPP
std::string typeName(const T &t)
Template function for returning the concrete type name of a passed-in object.
void callAEvil(const AEvil< T > &aEvil, const T &obj) const
void soundOff(const T &obj) const
A subclass of EvilBase that calls BEvil.
void soundOff(const T &obj) const