On 14.10.2010 20:39, Hyrum K. Wright wrote: > inline operator bool() const > { > return !isNull; > }
This bit seriously changes the semantics of std::string. I recommend not to override operator bool() like this. Write a different accessor function instead. -- Brane