forked from boostorg/unordered
The clang workaround broke some compilers, so only use it for clang.
[SVN r61529]
This commit is contained in:
@ -731,6 +731,18 @@ namespace boost { namespace unordered_detail {
|
|||||||
|
|
||||||
// Iterator Access
|
// Iterator Access
|
||||||
|
|
||||||
|
#if !defined(__clang__)
|
||||||
|
class iterator_access
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
template <class Iterator>
|
||||||
|
static BOOST_DEDUCED_TYPENAME Iterator::base const&
|
||||||
|
get(Iterator const& it)
|
||||||
|
{
|
||||||
|
return it.base_;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
#else
|
||||||
class iterator_access
|
class iterator_access
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
@ -751,6 +763,7 @@ namespace boost { namespace unordered_detail {
|
|||||||
return it.base_;
|
return it.base_;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
|
|
||||||
// Iterators
|
// Iterators
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user