Use requires-clauses and concepts for container-like components since C++20 by frederick-vs-ja · Pull Request #4718 · microsoft/STL (original) (raw)

Towards #602.

New internal concepts _Iterator_for_container, _Allocator_for_container, and _Hasher_for_container are mainly added for plain disambiguating constraints (as required by the standard).

Edit: desired changes for priority_queue didn't work since MSVC and Clang haven't implemented CWG-2369 (Godbolt link).

Edit: reduced the bug of EDG - DevCom-10678753.