DIP56 - inlining
deadalnix via Digitalmars-d
digitalmars-d at puremagic.com
Tue Feb 3 15:38:27 PST 2015
On Tuesday, 3 February 2015 at 23:25:26 UTC, Peter Alexander
wrote:
> On Tuesday, 3 February 2015 at 23:23:35 UTC, deadalnix wrote:
>> We have an attribute system, why make this a pragma ?
>
> Rationale is in the DIP: "These are not attributes because they
> should not affect the semantics of the function. In particular,
> the function signature must not be affected."
That's bullshit. UDA do not change the semantic of a function. By
the same reasoning they should be user defined pragma ?!??
More information about the Digitalmars-d
mailing list