|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r63875 - sandbox/SOC/2010/bit_masks/boost/integer/detail/bft/msvc_fixes/msvc9
From: bbartmanboost_at_[hidden]
Date: 2010-07-11 10:53:06
Author: bbartman
Date: 2010-07-11 10:53:05 EDT (Sun, 11 Jul 2010)
New Revision: 63875
URL: http://svn.boost.org/trac/boost/changeset/63875
Log:
working on polshing a version of the make_bitfield_tuple for msvc 9
Text files modified:
sandbox/SOC/2010/bit_masks/boost/integer/detail/bft/msvc_fixes/msvc9/msvc_make_bitfield_tuple_fix.hpp | 23 +++--------------------
1 files changed, 3 insertions(+), 20 deletions(-)
Modified: sandbox/SOC/2010/bit_masks/boost/integer/detail/bft/msvc_fixes/msvc9/msvc_make_bitfield_tuple_fix.hpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/boost/integer/detail/bft/msvc_fixes/msvc9/msvc_make_bitfield_tuple_fix.hpp (original)
+++ sandbox/SOC/2010/bit_masks/boost/integer/detail/bft/msvc_fixes/msvc9/msvc_make_bitfield_tuple_fix.hpp 2010-07-11 10:53:05 EDT (Sun, 11 Jul 2010)
@@ -81,34 +81,17 @@
BOOST_BFT_NOTHING )
-#define BOOST_MAKE_BFT_FUNCTION(Z, N, DATA) \
+#define BOOST_MAKE_BFT_FUNCTION(N) \
template <typename BitfieldTuple, BOOST_MAKE_BFT_TEMPLATE_PARAMETERS(N)> \
BitfieldTuple make_bitfield_tuple(BOOST_MAKE_BFT_FUNCTION_PARAMETERS(N)){ \
BitfieldTuple bft; \
BOOST_MAKE_BFT_GENERATE_ASSIGNMENT_CALLS(N); \
return bft; \
}
-
-#define BOOST_MAKE_BFT_FUNCTION_OVERLOADS() \
- BOOST_PP_REPEAT_FROM_TO( \
- 1,\
- BOOST_BFT_PARAM_COUNT, \
- BOOST_MAKE_BFT_ASSIGN_FUNCTION_CALL,\
- BOOST_BFT_NOTHING )
-
-
-
-
-
}}
-/* template <typename BitfieldTuple,BOOST_MAKE_BFT_TEMPLATE_PARAMETERS(0)>
-BitfieldTuple make_bitfield_tuple(BOOST_MAKE_BFT_FUNCTION_PARAMETERS(0)) {
- BitfieldTuple bft;
- BOOST_MAKE_BFT_GENERATE_ASSIGNMENT_CALLS(9)
- return bft;
-}
-*/
+BOOST_MAKE_BFT_FUNCTION(1);
+
template <typename BitfieldTuple,BOOST_MAKE_BFT_TEMPLATE_PARAMETERS(2)>
BitfieldTuple make_bitfield_tuple(BOOST_MAKE_BFT_FUNCTION_PARAMETERS(2)) {
BitfieldTuple bft;
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