XMLWordPrintable

Details

    Description

      Qt Creator doesn't understand following code:

      template<template <class&gt; class T>
      struct Foo{
       
      };
      template<class T>
      struct Bar{
       template<class V>
       struct Baz{
       
       };
      };
      
      template<class T>
      void foo(){
       Foo<Bar<T>::template Baz> f;
      }
      

      The code is correct, but it is underlined with red line and marked as "expected token `/=` got `template`".

      Attachments

        Activity

          People

            kosjar Nikolai Kosjar
            yrhetatejlb yrhetatejlb
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: