On Tuesday, 2 October 2012 at 16:44:48 UTC, monarch_dodra wrote:
On Tuesday, 2 October 2012 at 16:09:16 UTC, Peter Alexander wrote:
On Tuesday, 2 October 2012 at 13:17:45 UTC, monarch_dodra wrote:
If you've ever worked on a template that needs to index a range, you may have run into this problem: What is the type you should use to index an RA range?

Forgive my ignorance. What's wrong with size_t?

This is what happens when you use size_t:


http://dpaste.dzfl.pl/d95ccb14

On a side note, SortedRange is pretty bold at assuming the range is slice-able. Gonna fix that.

Reply via email to