Zero-cost version-dependent function call at -O0.
Johan Engelen via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Jun 26 10:50:26 PDT 2017
On Sunday, 25 June 2017 at 23:02:28 UTC, Adam D. Ruppe wrote:
> On Sunday, 25 June 2017 at 22:53:07 UTC, Johan Engelen wrote:
>> I meant semantically no call.
>
> In the existing language, I think version (or static if) at the
> usage and definition points both is as good as you're going to
> get.
At the usage _and_ at definition point, indeed, that's a very
good idea.
- Johan
More information about the Digitalmars-d-learn
mailing list