Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r66567 - trunk/boost/unordered/detail
From: dnljms_at_[hidden]
Date: 2010-11-14 06:43:51


Author: danieljames
Date: 2010-11-14 06:43:49 EST (Sun, 14 Nov 2010)
New Revision: 66567
URL: http://svn.boost.org/trac/boost/changeset/66567

Log:
Fix [66556] - Remove clang workaround.

I accidentaly removed the good code and left the workaround in. Also, a
correction to the comment: I think bug was only in a unreleased version
of clang.
Text files modified:
   trunk/boost/unordered/detail/fwd.hpp | 12 +-----------
   1 files changed, 1 insertions(+), 11 deletions(-)

Modified: trunk/boost/unordered/detail/fwd.hpp
==============================================================================
--- trunk/boost/unordered/detail/fwd.hpp (original)
+++ trunk/boost/unordered/detail/fwd.hpp 2010-11-14 06:43:49 EST (Sun, 14 Nov 2010)
@@ -670,18 +670,8 @@
     class iterator_access
     {
     public:
- // Note: we access Iterator::base here, rather than in the function
- // signature to work around a bug in the friend support of an
- // early version of clang.
-
- template <class Iterator>
- struct base
- {
- typedef BOOST_DEDUCED_TYPENAME Iterator::base type;
- };
-
         template <class Iterator>
- static BOOST_DEDUCED_TYPENAME base<Iterator>::type const&
+ static BOOST_DEDUCED_TYPENAME Iterator::base const&
             get(Iterator const& it)
         {
             return it.base_;


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