Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r72039 - branches/pplib/v2/boost/preprocessor
From: pmenso57_at_[hidden]
Date: 2011-05-18 21:14:15


Author: pmenso57
Date: 2011-05-18 21:14:14 EDT (Wed, 18 May 2011)
New Revision: 72039
URL: http://svn.boost.org/trac/boost/changeset/72039

Log:
workaround for VC++ in combination with bad code in scope_exit and signals2
Text files modified:
   branches/pplib/v2/boost/preprocessor/cat.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: branches/pplib/v2/boost/preprocessor/cat.hpp
==============================================================================
--- branches/pplib/v2/boost/preprocessor/cat.hpp (original)
+++ branches/pplib/v2/boost/preprocessor/cat.hpp 2011-05-18 21:14:14 EDT (Wed, 18 May 2011)
@@ -28,8 +28,8 @@
 # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MSVC()
 # define BOOST_PP_CAT_I(a, b) a ## b
 # else
-# define BOOST_PP_CAT_I(a, b) BOOST_PP_CAT_II(a ## b)
-# define BOOST_PP_CAT_II(res) res
+# define BOOST_PP_CAT_I(a, b) BOOST_PP_CAT_II(~, a ## b)
+# define BOOST_PP_CAT_II(p, res) res
 # endif
 #
 # endif


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