std::pow implementation
Gabriel Dos Reis
gdr@integrable-solutions.net
Wed Jul 30 14:14:00 GMT 2003
dewar@gnat.com (Robert Dewar) writes:
[...]
| Basically in Ada, we regard pragma Inline as meaning: this function is pretty
| small and I call it quite often and I would like the calls to be efficient.
That is not too far from the intent of inline in C++.
| Feel free to optimize in a way that improves time performance even if more
| space is generated. I am guessing that it would make sense to inline calls
| (I know the standard doesn't formally define this, but you know what I mean).
Yes, the standard does not legislate, but we know how and why the
language evolved to introduce that feature.
-- Gaby
More information about the Gcc
mailing list