Andrey Semashev f7fdaf08a3 Use C++11 underlying_type trait in BOOST_BITMASK.
This bumps the language requirement to C++11, although for compilers
that support the __underlying_type intrinsic this may work even in C++03
mode.

The operators generated by BOOST_BITMASK now use proper underlying types
for casts, which means the operators will no longer truncate bits from
large enums.

Also mark the operators as noexcept and constexpr (since C++14).
2025-06-12 18:40:55 +03:00
2021-01-26 15:53:19 -05:00
2021-06-10 01:15:48 +03:00
S
Description
Boost.org detail module
1.1 MiB
Languages
C++ 99.3%
CMake 0.4%
HTML 0.3%