
3 Nov
2011
3 Nov
'11
12:16 p.m.
On Thu, Nov 3, 2011 at 1:08 PM, Thorsten Ottosen <thorsten.ottosen@dezide.com> wrote:
Well, it used to return an unsigned type. It was then changed because
What unsigned type?
either size_t or something like make_unsigned<>::type.
Both sound better than the current solution.
iterator traits have no notion of unsigned types.
And , AFAICR, there was a discussion about this on the list, convincing me that using difference_type was the right thing to do.
AFAIK the conclusion was the opposite: use make_unsigned.
If you can find it, I might believe you. It should be in the archieves from some years ago.
I meant the discussion last month. Didn't know it was discussed before. Do you have any idea in what year/month? -- Olaf