[libcxx-commits] [libcxx] [libc++] Fix incorrect const qualification in some ranges algorithms (PR #115080)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Nov 6 06:01:02 PST 2024
ldionne wrote:
> [...] Your overloads have to have identical behaviour [...].
Can you point out where that's specified? (I believe you, I just want to read it)
Another option would be to set a variable in the const overload to say "the const overload was used" and then from the outside, check that the non-const overload was used. They would still have different behaviour but clearly that's within acceptability?
https://github.com/llvm/llvm-project/pull/115080
More information about the libcxx-commits
mailing list