23 Mar
2024
23 Mar
'24
2:07 p.m.
сб, 23 мар. 2024 г. в 15:52, Tobias Loew via Boost
Hi,
I would like to gauge interest in a library that makes the usage of flag-like enumerations safer. The library is called Boost.Flags, and its key features are ... Example on Godbolt: https://godbolt.org/z/qbojncnd7
From the reading of the docs I gathered that the library relies on operators in the global namespace, rather than using a macro to define operators in an enum's namespace. This has a certain flaw: https://godbolt.org/z/xePjK3es6