[libcxx-commits] [libcxx] [libc++] Avoid constructing additional objects when using map::at (PR #157866)
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Sep 25 06:52:28 PDT 2025
philnik777 wrote:
As Frederick already said, these specializations are definitely non-conforming. I guess users would be allowed to specialized `less` and give it members, but I'm not convinced that is ever correctly done (since it can't be used in the comparison or to observe what the implementation actually does). I'd be much more inclined to simply disallow user-specializations altogether.
That' being said, I'm fine with reverting temporarily if it takes a bit of time to resolve the issue.
https://github.com/llvm/llvm-project/pull/157866
More information about the libcxx-commits
mailing list