https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67617
Daniel Krügler <daniel.kruegler at googlemail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |daniel.kruegler@googlemail. | |com --- Comment #3 from Daniel Krügler <daniel.kruegler at googlemail dot com> --- (In reply to Jonathan Wakely from comment #1) > If that code is conforming then it's a defect in the standard. I agree. I believe the wording for associative containers is not as clear as it should be. For unordered containers 23.2.5 p11 speaks of "possibly const value" for hasher and binary predicate, but in 23.2.4 p8 this additional "possibly const" requirement is missing. I'm submitting an LWG issue for this and provide the issue number once available.