29:  operator bool() is dangerous. In C++11 use explicit conversion (explicit operator bool()), otherwise use something like the safe-bool idiom if the syntactic convenience is justified in this case, or consider defining a function (see http://www.artima.com/cppsource/safebool.html for more details).