10 #ifndef B_EVIL_DEF_HPP
11 #define B_EVIL_DEF_HPP
29 std::cout <<
typeName(*
this) <<
" call AEvil: ";
38 std::cout <<
typeName(*
this) <<
" obj = " << obj <<
"\n";
45 #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