added missing op to plain_integral

This commit is contained in:
joaquintides
2023-03-11 20:19:24 +01:00
committed by Christian Mazakas
parent 0590e3bf8c
commit c1b63f68c8

View File

@ -42,6 +42,15 @@ struct plain_integral
#endif
}
void operator&=(Integral m)
{
#if BOOST_WORKAROUND(BOOST_GCC,>=50000 && BOOST_GCC<60000)
n=static_cast<Integral>(n&m);
#else
n&=m;
#endif
}
Integral n;
};