Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Template Implementation switch
(1/1)
danselmi:
The problem is already discussed in the following topic:
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.
yvesdm3000:
Just a small question, why would code-completion do a distinction between header and source files? A header file can also contain implementations ?
Yves
oBFusCATed:
No objections here. I won't use this feature, but if you really need it then it is better in trunk.
MortenMacFly:
--- Quote from: yvesdm3000 on May 11, 2016, 06:32:40 am ---Just a small question, why would code-completion do a distinction between header and source files? A header file can also contain implementations ?
--- End quote ---
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.
MortenMacFly:
--- Quote from: danselmi on May 10, 2016, 11:26:14 pm ---Any objections? Otherwise I will apply it to trunk in about a week.
--- End quote ---
Looks good to me so far, but I've used it just today.
Navigation
[0] Message Index
Go to full version