[Boost-bugs] [Boost C++ Libraries] #7964: 'boost::system::error_code::unspecified_bool_type' : forcing value to bool 'true' or 'false' (performance warning)

Subject: [Boost-bugs] [Boost C++ Libraries] #7964: 'boost::system::error_code::unspecified_bool_type' : forcing value to bool 'true' or 'false' (performance warning)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-02-02 06:35:19


#7964: 'boost::system::error_code::unspecified_bool_type' : forcing value to bool
'true' or 'false' (performance warning)
-------------------------------------+--------------------------------------
 Reporter: szx <szx@…> | Owner: bemandawes
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: system
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
-------------------------------------+--------------------------------------
 I'm getting the following warning on MSVC 11.0 when using
 boost::system::error_code in an if() statement:

 warning C4800: 'boost::system::error_code::unspecified_bool_type' :
 forcing value to bool 'true' or 'false' (performance warning)

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7964>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:11 UTC