New blog post on the cost of compile time
ryuukk_
ryuukk.dev at gmail.com
Sun Feb 19 04:11:03 UTC 2023
On Saturday, 18 February 2023 at 20:04:27 UTC, Paul Backus wrote:
> On Saturday, 18 February 2023 at 19:25:01 UTC, Nick Treleaven
> wrote:
>>> I did start with using `lvalueOf!R`, but then realized that
>>> since `isInputRange` validates that `typeof(R.init) == R`, I
>>> just used `R.init` as the parameter.
>>
>> Is that validation to detect types with redefined `init`? I
>> didn't realize Phobos needs to care about that.
>
> There is at least one project in the project tester that uses
> redefined `init`, so yes, Phobos has to care about it (at least
> until the deprecation [1] goes through).
>
> [1] https://github.com/dlang/dmd/pull/12512
> Declaring tupleof, stringof, min, max and maybe others as
> members should also be deprecated in the future.
min, max? why??? i hope that won't happen anytime soon
init/deinit can't be used
create/destroy can't be used
Maybe it's time to introduce something, a token for builtin
features?
More information about the Digitalmars-d
mailing list