I think the intent here is to mimic value semantics since assignment actually changes referenced value. Making those functions `const` would be confusing.

On Fri, Oct 7, 2022 at 2:42 PM blacktea hamburger via Std-Proposals <std-proposals@lists.isocpp.org> wrote:
std::vector<bool>::reference and std::bitset::reference are both proxies, so even if they themselves are const, they can still be used to change the bit they reference.

Are there any issues?
--
Std-Proposals mailing list
Std-Proposals@lists.isocpp.org
https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals


--
Regards,
Oleksandr Koval.