Uploaded image for project: 'Swift'
  1. Swift
  2. SR-14443

[C++] Don't crash on invalid dependent values.

    XMLWordPrintable

    Details

      Description

      A while Varun Gandhi found this compiler crasher and I never got around to fixing it or creating a bug for it. 

      struct S {};
      template <class T>
       struct IsSubtypeSame {
         static constexpr const S value = T();
      };
      
      using Invalid = IsSubtypeSame<int>;
      

        Attachments

          Activity

            People

            Assignee:
            Rajagopalan Rajagopalan Gangadharan
            Reporter:
            Zoe Carver Zoe Carver
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: