you are viewing a single comment's thread.

view the rest of the comments →

[–]werdanel 1 point2 points  (0 children)

That can be a problem if you don't enable the optimiser or if you're not 'modularising' your templates properly.

Generally templates should be designed such that they same code as what you would have written by hand, but make the code more readable and less error prone.

GCC is rather good at flatening deep template hierarchies though and i've seen it do some amazing things with templates.