drafted bulk_visit

This commit is contained in:
joaquintides
2023-09-29 18:10:37 +02:00
parent 6b65c8f230
commit ddc77ebdc9
2 changed files with 104 additions and 0 deletions
@@ -244,6 +244,14 @@ namespace boost {
return table_.visit(k, f);
}
template<std::size_t M,typename F>
BOOST_FORCEINLINE
std::size_t bulk_visit(const std::array<key_type,M>& keys,F f)const
{
BOOST_UNORDERED_STATIC_ASSERT_CONST_INVOCABLE(F)
return table_.bulk_visit(keys, f);
}
template <class K, class F>
BOOST_FORCEINLINE typename std::enable_if<
detail::are_transparent<K, hasher, key_equal>::value, size_type>::type