Re: const functions

From: Alex Rousskov <rousskov@dont-contact.us>
Date: Tue, 23 Oct 2001 11:02:47 -0600 (MDT)

On Tue, 23 Oct 2001, Henrik Nordstrom wrote:

> I agree. And todays compilers are pretty good at inlining if one are
> worried about function call overhead (but be warned that overly inlining
> can have a negative performance impact...)

Again, the compiler should be smart enough to inline without a
negative performance impact.
 
> However, I have had to resort quite a bit to macros lately,
> pushing the borders of C language syntax.. (and no, there is no
> obvious way to solve many of the issues in C++ either)

Cannot comment regarding C++ solutions without a specific example of
what you are trying to do, but, yes, macros have their place and are
not totally useless, of course.

Alex.
Received on Tue Oct 23 2001 - 11:02:51 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:35 MST