avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] template library for c++


From: jepler
Subject: Re: [avr-gcc-list] template library for c++
Date: Mon, 3 Oct 2005 08:39:17 -0500
User-agent: Mutt/1.4.2.1i

I missed Nils' code, but I suspect that a a template-based approach
would avoid one shortcoming of your approach:  your io::IOClass uses 6
bytes of RAM storage for each instance, which would probably be
unacceptable in many cases.  A template approach might use none, since
the I/O addresses are compile-time constants and will simply be inlined
each time.

Jeff

Attachment: pgpME3KEppwdm.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]