Re: inline function problems
Re: inline function problems
- Subject: Re: inline function problems
- From: Kyle Sluder <email@hidden>
- Date: Sun, 17 Oct 2010 14:07:08 -0700
On Sun, Oct 17, 2010 at 1:29 PM, Velocityboy <email@hidden> wrote:
> This is actually not always true. If you have an non-static inline in a header file, the compiler is pretty smart about it. You can see this in action if you generate the assembly and look it it. This:
IIRC there's no guarantee that a two references to the same non-static
inline function will have the same address even within the same
translation unit, depending on optimization level, order of appearance
in the source file, and context in the call site. But that might be a
Microsoftism, or just a complete fabrication of my mind.
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden