forked from boostorg/unordered
copied Neon group15::is_sentinel from foa_unordered_rc.hpp
(possible performance impact)
This commit is contained in:
@ -305,7 +305,7 @@ struct group15
|
|||||||
inline bool is_sentinel(std::size_t pos)const
|
inline bool is_sentinel(std::size_t pos)const
|
||||||
{
|
{
|
||||||
BOOST_ASSERT(pos<N);
|
BOOST_ASSERT(pos<N);
|
||||||
return at(pos)==sentinel_;
|
return pos==N-1&&at(N-1)==sentinel_;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline void reset(std::size_t pos)
|
inline void reset(std::size_t pos)
|
||||||
|
Reference in New Issue
Block a user