diff --git a/include/boost/unordered/detail/foa/table.hpp b/include/boost/unordered/detail/foa/table.hpp index 3bc7a6d7..69d0b219 100644 --- a/include/boost/unordered/detail/foa/table.hpp +++ b/include/boost/unordered/detail/foa/table.hpp @@ -42,6 +42,15 @@ struct plain_integral #endif } + void operator&=(Integral m) + { +#if BOOST_WORKAROUND(BOOST_GCC,>=50000 && BOOST_GCC<60000) + n=static_cast(n&m); +#else + n&=m; +#endif + } + Integral n; };