I have the .h and cpp files for a class where I want to write a function with a template typevar.
Qt Code:
template <class TT_1> void write(TT_1 value);To copy to clipboard, switch view to plain text mode
I have problems when I want to write the function at the cpp file. I have not auto-completion info neither tooltip info. And sometimes I have strange compile behaviors. (If I modify some in this template is not compiled, sometimes I have to clean the project ...)
Any idea ? That is , how can I write the template implemention to let QtCreator and mingw works fine ?
Thanks
Bookmarks