https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86188
Bug ID: 86188 Summary: Enhancement to std::merge, constexpr check of iterator types Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: joshua.r.marshall.1991 at gmail dot com Target Milestone: --- Before I go in an submitting patches all willy-nilly, I've been poking at std::merge and I think I see that it could catch some programming bugs better with constexpr std::iterator_traits<Iterator>::iterator_category == <<relevant tag here>>. This looks simple, but there may also be a reason it hasn't been done.