Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r85570 - trunk/boost/utility
From: andrey.semashev_at_[hidden]
Date: 2013-09-05 04:28:24


Author: andysem
Date: 2013-09-05 04:28:24 EDT (Thu, 05 Sep 2013)
New Revision: 85570
URL: http://svn.boost.org/trac/boost/changeset/85570

Log:
Attempt to work around explicit_operator_bool_compile_fail_conv_pvoid test failure for VACPP.

Text files modified:
   trunk/boost/utility/explicit_operator_bool.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/utility/explicit_operator_bool.hpp
==============================================================================
--- trunk/boost/utility/explicit_operator_bool.hpp Wed Sep 4 21:59:32 2013 (r85569)
+++ trunk/boost/utility/explicit_operator_bool.hpp 2013-09-05 04:28:24 EDT (Thu, 05 Sep 2013) (r85570)
@@ -64,7 +64,7 @@
 
 namespace detail {
 
-#if !defined(_MSC_VER)
+#if !defined(_MSC_VER) && !defined(__IBMCPP__)
 
     struct unspecified_bool
     {
@@ -78,7 +78,7 @@
 
 #else
 
- // MSVC is too eager to convert pointer to function to void* even though it shouldn't
+ // MSVC and VACPP are too eager to convert pointer to function to void* even though they shouldn't
     struct unspecified_bool
     {
         // NOTE TO THE USER: If you see this in error messages then you tried


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk