Thoughts on versioning
rikki cattermole
rikki at cattermole.co.nz
Tue Oct 26 02:37:51 UTC 2021
On 26/10/2021 3:29 PM, Andrei Alexandrescu wrote:
> On 10/25/21 10:21 PM, rikki cattermole wrote:
>> What is not working for you?
>
> Most Phobos functions import std.something locally, as they should.
> Those imports would need to be all hoisted to top level for the mixin to
> work. Wouldn't want to lose the advantages of local imports.
Ah yes, importing inside a function body.
Hmm, does anyone know what the cost is of a named import if unused is?
That could resolve this issue.
More information about the Digitalmars-d
mailing list