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