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

            Bug ID: 96333
           Summary: Regression on concepts constraint checking
           Product: gcc
           Version: 10.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: joel.falcou at lri dot fr
  Target Milestone: ---

The following code :

https://godbolt.org/z/ah6ssM

exhibits a regression so that not having const& on one of the g overload make
them ambiguous.

g++ 10.1 and clang 10 compiles both version without error.
The workaround to add const& is OK but I think this is not normal behavior.

Reply via email to