If "the book" claims a static const member function is valid C++ then, yes, it is wrong. If a code example in the book is of that form, then that example is wrong (which may mean the book is crap, or may just be an error in the particular example).Originally Posted by kocika73
Like laserlight, I'm curious about what book you're using.