About ref used for performance reasons with struct
deadalnix
deadalnix at gmail.com
Mon Feb 11 08:48:37 PST 2013
On Monday, 11 February 2013 at 16:27:29 UTC, Namespace wrote:
> That is identical with 'inline' in C++. You _can_ declare a
> function as inline, but finally the compiler choose if he
> really inline the function or not.
Compiler now inline even when inline isn't present, and don't
inline when inline is present but this don't make sense.
In other terms, inline is the perfect example of why defining
stuff like that explicitly make no sense.
More information about the Digitalmars-d
mailing list