Dinkumware implementation always uses element from first source range,
but can I count on this?
--
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]
>Are there any guarantees about what element will merge algorithm add
>to resulting range if there are two that are equal.
>
>Dinkumware implementation always uses element from first source range,
>but can I count on this?
std c++, 25.3.4-5 Notes: Stable: for equivalent elements in the two
ranges, the elements from the first range always precede the elements
from the second
Best regards,
Zara
Yes, it is specified in the standard.
--
Erik Wikström