https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65861

--- Comment #3 from Jack Howarth <howarth.at.gcc at gmail dot com> ---
(In reply to Jonathan Wakely from comment #2)
> This is user error, std::search() requires forward iterators and the library
> is not required to diagnose it.  Defining _GLIBCXX_CONCEPT_CHECKS causes it
> to be rejected.

Is the use of _GLIBCXX_CONCEPT_CHECKS well enough advertised in the
documentation that we can expect the average developer to know to invoke it?

Reply via email to