Monday, November 21, 2011

Typo ((

There's an extra/missing bracket on page 131. 


static const int value = ((X % 2) ? 0 : -1;
                         ^^                

Tuesday, November 1, 2011

Syntax error in section 2.4.11

For some reason (namely, abuse of find & replace...), in section 2.4.11 three cast operators are incorrect.


bool operator() const 
{                     

should be:

operator bool() const 
{