Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: Mixing gcc C & C++

2012-11-28 by anickol

In fact, templates can lead to _less_ code size, because they allow for efficient  elimination of dead code.


--- In AVR-Chat@yahoogroups.com, Martin McKee <martinjaymckee@...> wrote:
>
> 1) Templates... sometimes.  I've used templates extensively to allow for
> safe ( compared to preprocessor magic ) compile-time polymorphism and have
> suffered NO expansion in code size or execution time compared to a direct C
> implementation.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.