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