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

Patrick Palka <ppalka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason at gcc dot gnu.org,
                   |                            |ppalka at gcc dot gnu.org

--- Comment #1 from Patrick Palka <ppalka at gcc dot gnu.org> ---
Started with r11-2774:

    c++: Check satisfaction before non-dep convs. [CWG2369]

    It's very hard to use concepts to protect a template from hard errors due
to
    unwanted instantiation if constraints aren't checked until after doing all
    substitution and checking of non-dependent conversions.

We fall into a loop when checking the constraints of the second overload
(instantiated with Rep=int and T=Int<int>).

It looks like we're correct to reject the testcase as of this DR?

Reply via email to