|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r72523 - trunk/boost/unordered/detail
From: dnljms_at_[hidden]
Date: 2011-06-09 15:48:35
Author: danieljames
Date: 2011-06-09 15:48:34 EDT (Thu, 09 Jun 2011)
New Revision: 72523
URL: http://svn.boost.org/trac/boost/changeset/72523
Log:
Unordered: Work around for compilers which don't support template friend members.
Text files modified:
trunk/boost/unordered/detail/table.hpp | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
Modified: trunk/boost/unordered/detail/table.hpp
==============================================================================
--- trunk/boost/unordered/detail/table.hpp (original)
+++ trunk/boost/unordered/detail/table.hpp 2011-06-09 15:48:34 EDT (Thu, 09 Jun 2011)
@@ -802,6 +802,7 @@
iterator;
friend class ::boost::unordered::iterator_detail::iterator<A, Unique>;
+#if !defined(BOOST_NO_MEMBER_TEMPLATE_FRIENDS)
template <class K, class T, class H, class P, class A2>
friend class ::boost::unordered::unordered_map;
template <class K, class T, class H, class P, class A2>
@@ -810,6 +811,9 @@
friend class ::boost::unordered::unordered_set;
template <class T, class H, class P, class A2>
friend class ::boost::unordered::unordered_multiset;
+#else
+ public:
+#endif
node_ptr node_;
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