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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes