On Wednesday, 20 August 2014 at 07:04:50 UTC, Jacob Carlborg
wrote:
* Remove template constraints. I think, at least with
std.algorithm, it's mostly obvious what to pass and I rarely
need to look at the constraints
BTW aren't they a bit over-complicated?
(args.length == 0 || (args.length > 0 && !is(Unqual!(A[0]) :
bool)))
isn't length unsigned?
so in the or-part args.length > 0 is obviously true and
superflouos.
(args.length == 0 || !is(Unqual!(A[0]) : bool))
is at least a little more readable...