Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r81029 - trunk/boost/unordered/detail
From: dnljms_at_[hidden]
Date: 2012-10-20 20:17:40


Author: danieljames
Date: 2012-10-20 20:17:40 EDT (Sat, 20 Oct 2012)
New Revision: 81029
URL: http://svn.boost.org/trac/boost/changeset/81029

Log:
Unordered: bcp friendly macros.
Text files modified:
   trunk/boost/unordered/detail/extract_key.hpp | 16 ++++++++--------
   1 files changed, 8 insertions(+), 8 deletions(-)

Modified: trunk/boost/unordered/detail/extract_key.hpp
==============================================================================
--- trunk/boost/unordered/detail/extract_key.hpp (original)
+++ trunk/boost/unordered/detail/extract_key.hpp 2012-10-20 20:17:40 EDT (Sat, 20 Oct 2012)
@@ -155,7 +155,7 @@
 #define BOOST_UNORDERED_KEY_FROM_TUPLE(namespace_) \
         template <typename T2> \
         static no_key extract(boost::unordered::piecewise_construct_t, \
- namespace_::tuple<> const&, BOOST_FWD_REF(T2)) \
+ namespace_ tuple<> const&, BOOST_FWD_REF(T2)) \
         { \
             return no_key(); \
         } \
@@ -163,17 +163,17 @@
         template <typename T, typename T2> \
         static typename is_key<key_type, T>::type \
             extract(boost::unordered::piecewise_construct_t, \
- namespace_::tuple<T> const& k, BOOST_FWD_REF(T2)) \
+ namespace_ tuple<T> const& k, BOOST_FWD_REF(T2)) \
         { \
             return typename is_key<key_type, T>::type( \
- namespace_::get<0>(k)); \
+ namespace_ get<0>(k)); \
         }
 
 #else
 
 #define BOOST_UNORDERED_KEY_FROM_TUPLE(namespace_) \
         static no_key extract(boost::unordered::piecewise_construct_t, \
- namespace_::tuple<> const&) \
+ namespace_ tuple<> const&) \
         { \
             return no_key(); \
         } \
@@ -181,18 +181,18 @@
         template <typename T> \
         static typename is_key<key_type, T>::type \
             extract(boost::unordered::piecewise_construct_t, \
- namespace_::tuple<T> const& k) \
+ namespace_ tuple<T> const& k) \
         { \
             return typename is_key<key_type, T>::type( \
- namespace_::get<0>(k)); \
+ namespace_ get<0>(k)); \
         }
 
 #endif
 
-BOOST_UNORDERED_KEY_FROM_TUPLE(boost)
+BOOST_UNORDERED_KEY_FROM_TUPLE(boost::)
 
 #if !defined(BOOST_NO_CXX11_HDR_TUPLE)
-BOOST_UNORDERED_KEY_FROM_TUPLE(std)
+BOOST_UNORDERED_KEY_FROM_TUPLE(std::)
 #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