https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103923
--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> --- I think libc++ just always caches the hash code, which keeps things much simpler.
redi at gcc dot gnu.org via Gcc-bugs Thu, 06 Jan 2022 06:55:58 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103923
--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> --- I think libc++ just always caches the hash code, which keeps things much simpler.