This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: std::pow implementation


On Mon, Aug 04, 2003 at 07:51:55PM +0200, Gabriel Dos Reis wrote:
> dewar@gnat.com (Robert Dewar) writes:
> 
> | > Defining a member function within a class declaration has exactly the
> | > same meaning.  And that has been documented in every manual since 1981.
> | 
> | Yes, we all agree that the as-if standard meaning is the same, that is
> | never in dispute.
> 
> I do insist on the fact that it is not just an "as-if" rule.

I won't insist on the "as-if" rule: the longstanding promise in the GCC
manual that "an inlined function is as fast as a macro" will do for me
as a spec.  If you can achieve that without actually doing the inlining,
go for it.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]