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

            Bug ID: 112796
           Summary: <algorithm> header implicitly includes <concepts>
           Product: gcc
           Version: 12.2.0
               URL: https://godbolt.org/z/Pra17xczj
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bill.trost at harmonicinc dot com
  Target Milestone: ---
            Target: x86-64

Created attachment 56739
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56739&action=edit
Sample code that incorrectly compiles.

The attached code should not compile (and does not compile if you don't include
<algorithm>). It should have to #include <concepts>.

Reply via email to