Thoughts on versioning
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Tue Oct 26 14:27:10 UTC 2021
On 10/26/21 12:58 AM, zjh wrote:
> On Tuesday, 26 October 2021 at 01:19:29 UTC, Andrei Alexandrescu wrote:
>> Versioning Phobos would free us from maintaining backward
>
> can we improve this
> ```d
> if (isInputRange!(Range1) && isInputRange!(Range2))
> ```
> to:
> ```d
> if isallInputRange(Range1,Range2)
> ```
> ?
> `C++`'s `concept` is very grace.
There's https://github.com/dlang/phobos/pull/8303 that does something
similar along with making mismatch variadic.
More information about the Digitalmars-d
mailing list