Sorted Array Wrapper Range

"Nordlöw" via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Dec 6 06:50:01 PST 2014


On Saturday, 6 December 2014 at 14:14:18 UTC, Tobias Pankrath 
wrote:
> Because a RandomAccessRange has no means to grow in general. 
> Compare your proposed wrapper to 
> http://dlang.org/phobos/std_container.html#.BinaryHeap

So what should the basic operations in a SortedRange wrapper 
template be? And how should the wrapped type be restricted?


More information about the Digitalmars-d-learn mailing list