|
Boost : |
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2006-05-09 10:38:42
David Abrahams wrote:
> Thorsten Ottosen <thorsten.ottosen_at_[hidden]> 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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk