Closed frederick-vs-ja closed 1 month ago
Thanks - a good workaround for a disgusting mode! :vomiting_face: :joy_cat:
I explored whether requires requires { MEOW.swap(PURR); }
would help by itself, but it doesn't - possibly workarounds would need to be added to member swap
in that case. I didn't care enough, so I abandoned the attempt for now.
I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed.
Thanks again for investigating and fixing this bug! :hammer_and_wrench: :rocket: :lady_beetle:
Fixes #4657. ~Works around DevCom-10652420~, which is closed as Not a Bug. Works around
/permissive-
.<expected>
, checkis_swappable
asis_swappable_v
can be buggy in permissive modes.<iterator>
, avoid instantiation ofcontiguous_iterator
foristreambuf_iterator
andostreambuf_iterator
, which are instantiated in locale facets.Also adds test coverage for
expected
in permissive modes.