|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r86742 - in trunk: boost/preprocessor/tuple libs/preprocessor/doc/ref
From: eldiener_at_[hidden]
Date: 2013-11-17 17:05:23
Author: eldiener
Date: 2013-11-17 17:05:23 EST (Sun, 17 Nov 2013)
New Revision: 86742
URL: http://svn.boost.org/trac/boost/changeset/86742
Log:
Fix to BOOST_PP_TUPLE_REM for VC++8.0 and note in documentation about it.
Text files modified:
trunk/boost/preprocessor/tuple/rem.hpp | 7 +++++--
trunk/libs/preprocessor/doc/ref/tuple_rem.html | 1 +
2 files changed, 6 insertions(+), 2 deletions(-)
Modified: trunk/boost/preprocessor/tuple/rem.hpp
==============================================================================
--- trunk/boost/preprocessor/tuple/rem.hpp Sun Nov 17 15:47:14 2013 (r86741)
+++ trunk/boost/preprocessor/tuple/rem.hpp 2013-11-17 17:05:23 EST (Sun, 17 Nov 2013) (r86742)
@@ -1,7 +1,7 @@
# /* **************************************************************************
# * *
# * (C) Copyright Paul Mensonides 2002-2011. *
-# * (C) Copyright Edward Diener 2011. *
+# * (C) Copyright Edward Diener 2011,2013. *
# * Distributed under the Boost Software License, Version 1.0. (See *
# * accompanying file LICENSE_1_0.txt or copy at *
# * http://www.boost.org/LICENSE_1_0.txt) *
@@ -27,7 +27,10 @@
#
# /* BOOST_PP_TUPLE_REM */
#
-# if BOOST_PP_VARIADICS
+/*
+ VC++8.0 cannot handle the variadic version of BOOST_PP_TUPLE_REM(size)
+*/
+# if BOOST_PP_VARIADICS && !(BOOST_PP_VARIADICS_MSVC && _MSC_VER == 1400)
# define BOOST_PP_TUPLE_REM(size) BOOST_PP_REM
# else
# if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MWCC()
Modified: trunk/libs/preprocessor/doc/ref/tuple_rem.html
==============================================================================
--- trunk/libs/preprocessor/doc/ref/tuple_rem.html Sun Nov 17 15:47:14 2013 (r86741)
+++ trunk/libs/preprocessor/doc/ref/tuple_rem.html 2013-11-17 17:05:23 EST (Sun, 17 Nov 2013) (r86742)
@@ -33,6 +33,7 @@
functionality will still work. If you specify a size in the variadic
version, it will be ignored, but the warning from some compilers will
not occur.<br>
+<br>Note: For Visual C++ 8.0 ( Visual Studio 2005 ) you must specify the <i>size</i> argument.<br>
</div>
<h4>See Also</h4>
<ul>
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