static function in an abstract class

Posted by Alexander on Stack Overflow See other posts from Stack Overflow or by Alexander
Published on 2010-04-15T02:08:51Z Indexed on 2010/04/15 2:13 UTC
Read the original article Hit count: 242

Filed under:

How to implement a static function in an abstract class?? Where do I implement this?

class Item{
public:
  //
  // Enable (or disable) debug descriptions. When enabled, the String produced
  // by descrip() includes the minimum width and maximum weight of the Item.
  // Initially, debugging is disabled.
  static enableDebug(bool);

};

© Stack Overflow or respective owner

Related posts about c++