[Qt-creator] Syntax highlighting, template templates

Nico Kruber kruber at zib.de
Thu Jul 23 11:21:47 CEST 2009


Just as a reminder: using values as template parameters still gets underlined 
as an error when a such parameter is used to create a concrete class (see 
method foo(A<elements>* var) below (or in the attached file)

template<int count>
class A {
public:
  A() {
    std::cout << count << std::endl;
  }
};

template<int elements>
void foo(A<elements>* var) {
}

template<int elements>
void bar() {
  std::cout << elements;
}


Nico
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x.cpp
Type: text/x-c++src
Size: 278 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20090723/844482bd/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20090723/844482bd/attachment-0001.bin 


More information about the Qt-creator-old mailing list