Code::Blocks Forums
Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: danselmi on May 10, 2016, 11:26:14 pm
-
The problem is already discussed in the following topic:
http://forums.codeblocks.org/index.php/topic,15295.0.html (http://forums.codeblocks.org/index.php/topic,15295.0.html)
The attached patch adds a file type: c++ template implementation.
The editormanager and code completion handles these files like source files but the compiler handles them like header files.
Any objections? Otherwise I will apply it to trunk in about a week.
-
Just a small question, why would code-completion do a distinction between header and source files? A header file can also contain implementations ?
Yves
-
No objections here. I won't use this feature, but if you really need it then it is better in trunk.
-
Just a small question, why would code-completion do a distinction between header and source files? A header file can also contain implementations ?
Yes, but you usually don't compile the header- file but the source file. So for compilation its important. BTW: If the header contains the implementation of a certain methods thats fine - CC can manage that.
-
Any objections? Otherwise I will apply it to trunk in about a week.
Looks good to me so far, but I've used it just today.