From b9188caf7dc40882ed724e3e76855e0181e99d2f Mon Sep 17 00:00:00 2001 From: Daniel James Date: Sun, 14 Nov 2010 11:43:49 +0000 Subject: [PATCH] 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. [SVN r66567] --- include/boost/unordered/detail/fwd.hpp | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/include/boost/unordered/detail/fwd.hpp b/include/boost/unordered/detail/fwd.hpp index 34e72a49..471d1d2e 100644 --- a/include/boost/unordered/detail/fwd.hpp +++ b/include/boost/unordered/detail/fwd.hpp @@ -670,18 +670,8 @@ namespace boost { namespace unordered_detail { 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 - struct base - { - typedef BOOST_DEDUCED_TYPENAME Iterator::base type; - }; - - template - static BOOST_DEDUCED_TYPENAME base::type const& + static BOOST_DEDUCED_TYPENAME Iterator::base const& get(Iterator const& it) { return it.base_;