forked from boostorg/preprocessor
Fix to BOOST_PP_TUPLE_REM for VC++8.0 and note in documentation about it.
[SVN r86742]
This commit is contained in:
@ -33,6 +33,7 @@ completely so that the macro can be invoked as BOOST_PP_TUPLE_REM(); you may get
|
|||||||
functionality will still work. If you specify a size in the variadic
|
functionality will still work. If you specify a size in the variadic
|
||||||
version, it will be ignored, but the warning from some compilers will
|
version, it will be ignored, but the warning from some compilers will
|
||||||
not occur.<br>
|
not occur.<br>
|
||||||
|
<br>Note: For Visual C++ 8.0 ( Visual Studio 2005 ) you must specify the <i>size</i> argument.<br>
|
||||||
</div>
|
</div>
|
||||||
<h4>See Also</h4>
|
<h4>See Also</h4>
|
||||||
<ul>
|
<ul>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# /* **************************************************************************
|
# /* **************************************************************************
|
||||||
# * *
|
# * *
|
||||||
# * (C) Copyright Paul Mensonides 2002-2011. *
|
# * (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 *
|
# * Distributed under the Boost Software License, Version 1.0. (See *
|
||||||
# * accompanying file LICENSE_1_0.txt or copy at *
|
# * accompanying file LICENSE_1_0.txt or copy at *
|
||||||
# * http://www.boost.org/LICENSE_1_0.txt) *
|
# * http://www.boost.org/LICENSE_1_0.txt) *
|
||||||
@ -27,7 +27,10 @@
|
|||||||
#
|
#
|
||||||
# /* BOOST_PP_TUPLE_REM */
|
# /* 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
|
# define BOOST_PP_TUPLE_REM(size) BOOST_PP_REM
|
||||||
# else
|
# else
|
||||||
# if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MWCC()
|
# if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MWCC()
|
||||||
|
Reference in New Issue
Block a user