force_inline etc.

Manu via Digitalmars-d digitalmars-d at puremagic.com
Tue Feb 3 18:33:38 PST 2015


On 3 February 2015 at 23:27, Daniel Murphy via Digitalmars-d
<digitalmars-d at puremagic.com> wrote:
> "Manu via Digitalmars-d"  wrote in message
> news:mailman.5832.1422967168.9932.digitalmars-d at puremagic.com...
>
>> I'd personally prefer an attribute, and I'll argue for it, but I'll
>> take whatever I can get. Pragma will likely lead to text mixins, and
>> difficulty discovering the state of inline attribution applied to
>> functions. It may lead to meta problems of the type I'm all too
>> frequently familiar with.
>
>
> Why would you ever want to discover the state of inline attribution?  By
> definition inlining is supposed it be invisible.

In the inevitable case that I always seem to find myself in, where I'm
wrapping something in a thin shim that should behave IDENTICAL to the
thing I'm wrapping.
It's the source of the vast majority of my language issues.


More information about the Digitalmars-d mailing list