[Bug c++/96164] Constraints and explicit template instantiation

ppalka at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Jul 11 16:47:17 GMT 2020


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |ppalka at gcc dot gnu.org
             Status|NEW                         |ASSIGNED

--- Comment #3 from Patrick Palka <ppalka at gcc dot gnu.org> ---
Another testcase:

   template <int N>
   struct A {
       void f() requires (N == 3) { static_assert(N == 3); }
   };

   template struct A<2>;


More information about the Gcc-bugs mailing list