[Bug c++/95568] New: No CTAD with list initialization within requires-clause

johelegp at gmail dot com gcc-bugzilla@gcc.gnu.org
Mon Jun 8 02:17:21 GMT 2020


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

            Bug ID: 95568
           Summary: No CTAD with list initialization within
                    requires-clause
           Product: gcc
           Version: 10.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: johelegp at gmail dot com
  Target Milestone: ---

See https://godbolt.org/z/Ljt-85.
```C++
template<class T> struct X { T x; };
template<class T> concept Y = requires { X{0}; };
```


More information about the Gcc-bugs mailing list