Fix Issue 9616 - SortedRange should support all range kinds
Improved error messages
Fix Issue 9616 - SortedRange should support all range kinds
Improved error messages
review
rebased, fixed conflict
Added the text of the failing unittest
Generalized binaryReverseArgs for more args
Fix "use up capacity" in Appender
Re-implement hasIndirections

Avoids requesting the RepresentationTypeTuple of T unless really needed.

Partially solves 12000:
https://d.puremagic.com/issues/show_bug.cgi?id=12000

Fix Issue 12000 - Forward reference issue with RefCounted
Merge pull request #2046 from monarchdodra/appenderUseUp

Fix "use up capacity" in Appender
safe pure nothrow sort and sum
Don't wrap testTerm() with default arguments

The code is clearer without the extra function and with explicit
arguments.
Fix Issue 6998 - std.container.Array destroys...

... class instances
Merge pull request #2057 from Biotronic/master

Generalized binaryReverseArgs for more args
Add unittest for 12540
Remove Ref template which was undocumented, unused, and had a non-working implementation.
Merge pull request #2079 from monarchdodra/6998

Fix Issue 6998 - std.container.Array destroys class instances
Fix appender's extend
Cover 12428