-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make bit_set compatible with std::print #20
Comments
backup of removed comment on P3070R0 This proposal by @vitaut is great! In fact, if anything, the paper undersells itself. In my experience, there are considerable other benefits from overloading
Factoring the reference class outside its container will enable template argument deduction for both the
However, a much less intrusive refactoring of
|
xstd::bit_set<N, Block>
is a bona fidestd::bidirectional_range
. We also provide aformat_as
overload forxstd::bit_set<N, Block>::proxy_reference
. This makes it currently printable withfmt::print
.If and when P3070R0 gets adopted, we will also support
std::print
.The text was updated successfully, but these errors were encountered: