C++03 mandated operator void *() in iostreams. C++11 mandates explicit operator bool(), which has been implemented in VS 2013 Preview. See http://blogs.msdn.com/b/vcblog/archive/2013/06/28/c-11-14-stl-features-fixes... for a description of the compiler and STL changes in VS 2013, some of which will affect Boost. STL -----Original Message----- From: Boost [mailto:boost-bounces@lists.boost.org] On Behalf Of Bjorn Reese Sent: Tuesday, July 02, 2013 2:13 AM To: boost@lists.boost.org Subject: Re: [boost] Any interest in bitstream class? On 07/01/2013 07:47 PM, Paul Long wrote:
Interesting... VS2012 never overloads operator bool. Instead it provides this functionality via a void * overload in xiobase:
For an explanation see: http://www.artima.com/cppsource/safebool.html _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost