forked from boostorg/unordered
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]
This commit is contained in:
@ -670,18 +670,8 @@ namespace boost { namespace unordered_detail {
|
|||||||
class iterator_access
|
class iterator_access
|
||||||
{
|
{
|
||||||
public:
|
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>
|
template <class Iterator>
|
||||||
struct base
|
static BOOST_DEDUCED_TYPENAME Iterator::base const&
|
||||||
{
|
|
||||||
typedef BOOST_DEDUCED_TYPENAME Iterator::base type;
|
|
||||||
};
|
|
||||||
|
|
||||||
template <class Iterator>
|
|
||||||
static BOOST_DEDUCED_TYPENAME base<Iterator>::type const&
|
|
||||||
get(Iterator const& it)
|
get(Iterator const& it)
|
||||||
{
|
{
|
||||||
return it.base_;
|
return it.base_;
|
||||||
|
Reference in New Issue
Block a user