std::pow implementation

Robert Dewar dewar@gnat.com
Wed Jul 30 13:52:00 GMT 2003


> 
> Therefore, inline the way you describe it, is useful only for
> functions that are *always* profitable to inline.  Any function that
> might or might not be profitable to inline should not be declared
> inline, and the compiler would never inline it.

And of course this approach is impractical, since whether inlining helps
in a specific case is target dependent.



More information about the Gcc mailing list