Yahoo Groups archive

AVR-Chat

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

Message

Re: [AVR-Chat] Re: Mixing gcc C & C++

2012-11-28 by Martin McKee

Absolutely, though I must admit, I rarely use them in places where there is
likely to be much in the way of dead code in the first place.

Martin Jay McKee

On Wed, Nov 28, 2012 at 4:40 AM, anickol <anickol@yahoo.com> wrote:

> **
>
>
>
> 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.
>
>  
>


[Non-text portions of this message have been removed]

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.