Andrei Alexandrescu
Andrei Alexandrescu
All: how do I compare that two layouts are identical? `is(Layout!A == Layout!B)` does not work because the instantiation of `Layout` is not a type. What is the right way...
Another bug in the compiler revealed by unittests: ```d ../dmd/generated/linux/release/64/dmd -conf= -I../druntime/import -w -de -preview=dip1000 -preview=dtorfields -preview=fieldwise -m64 -fPIC -O -release -defaultlib= -debuglib= -L-lpthread -L-lm -betterC -unittest -run generated/linux/release/64/betterctests/std_algorithm_comparison.d ```...
@Imperatorn @dukc any ideas for workarounds for https://issues.dlang.org/show_bug.cgi?id=20715?
Also submitted https://issues.dlang.org/show_bug.cgi?id=22579
@12345swordy didn't think of it much yet. Your idea looks a bit cute for me - what's the convention on the version formatting etc. I'd rather have something string-based.
Related: https://issues.dlang.org/show_bug.cgi?id=22596
> FYI the current implementation breaks the navigation in the documentation, see e.g. [std.algorithm](http://dtest.dlang.io/artifact/website-4c001ba3372ccfc7bf57e55d666d5a39e5c03c08-43b223646ebfae283b758a11c877fdf8/web/library-prerelease/std/algorithm.html) and [std.algorithm.searching](http://dtest.dlang.io/artifact/website-4c001ba3372ccfc7bf57e55d666d5a39e5c03c08-43b223646ebfae283b758a11c877fdf8/web/library-prerelease/std/algorithm/comparison.html) Affirmative. It's a bug I'll submit in a few hours that needs to be...
> I think you should stop adding new functions and get what you have already made merged first. That way others can also begin porting the functions. I wish things...
> Just disable the docs for now. How do you mean that?
One more thing: `orElse` should also accept a full range that is returned if the first range is empty.