
9 May
2006
9 May
'06
2:38 p.m.
David Abrahams wrote:
Thorsten Ottosen <thorsten.ottosen@dezide.com> writes:
You mean more expensive because you have to see which irerator that is the valid one?
The checks are more complicated than that, but that's the general idea.
In that case it might be reasoable to always mandate the left argument to be the valid iterator:
No, that violates EqualityComparable, not to mention every reasonable person's expectations.
In that case I think it's not worth doing. I'll leave it up to Pavol to put it in the string library. -Thorsten