copied Neon group15::is_sentinel from foa_unordered_rc.hpp

(possible performance impact)
This commit is contained in:
joaquintides
2022-10-25 14:45:38 +02:00
parent 492df9c9c6
commit 2afd1c5c9a

View File

@ -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)