Testing whether a few given values are ordered#3112
Testing whether a few given values are ordered#3112MartinNowak merged 2 commits intodlang:masterfrom
Conversation
std/algorithm/sorting.d
Outdated
|
Can we at least split the doc bug and whitespace fixes into a separate commit? |
|
I still don't like the name |
Close to And the allocation could be avoided by providing a range interface for same type tuples; hypothetical |
|
No need to split the commit in two, the comment changes won't show up in some git bisect. |
|
That brings the question: should we add |
Which is just |
|
That doc preview leaves a lot to be desired in terms of readability. Template constraints really need to be grayed out or formatted better or something. |
|
I would expect a function called The behaviour would be ideal even for floating point, if |
|
|
|
Yes, dmd certainly can't do it. |
Yes, if can't be easily composed, that would be a useful addition. |
|
Although this is a subset of what can be done with LGTM. |
|
Auto-merge toggled on |
Testing whether a few given values are ordered
Incidentally fixed a doc bug and a few trailing whitespaces in algorithm/comparison.d as well.