std::pow implementation
Gabriel Dos Reis
gdr@integrable-solutions.net
Wed Jul 30 12:59:00 GMT 2003
"Stephan T. Lavavej" <stl@caltech.edu> writes:
| It should be noted that the only way to make a library that is entirely
| implemented in its header files is to declare *everything* inline.
Not really. How often do you have the cases where you
(1) want to have everything in a header
(2) don't want inlining
(3) can't make them static
?
If you're attempting to tell me that a determined programmer can abuse of
"inline". Yes, he can. Just as he can for any other functionnality
of the language, but that is no sufficient excuse for changing the
meaning of inline. We don't change the meaning of ther
functionalities because some programmer can abuse of them.
-- Gaby
More information about the Gcc
mailing list