incubator-stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Sebor <se...@roguewave.com>
Subject Re: test for lib.alg.remove
Date Tue, 20 Dec 2005 21:55:23 GMT
Martin Sebor wrote:
[...]
> Now, consider this more involved output:
> 
> # ITRACE_ASSERTION (S0) (3 lines):
> # TEXT: line 279: remove<ForwardIterator>("aba", ..., 'a') => >90:98<,

> 91:98, 92:97 unstable: incorrect elements order at 0 position elements 
> ids: 90 and 91
> # LINE: 467
> 
> Can you tell what all the pairs of numbers separated by colons mean?
> I can because I wrote the formatting function and you now can as well
> because you reimplemented it, but I'll bet no one else would be able
> to. (They denote a <id>:<value> pair of each element in the resulting
> sequence, with each <id> being unique among all objects of the type
> in a program; knowing the id is important in determining the positions
> of copies of the moved elements).
> 
> I'm not sure what would be a better format in this case, though.

I'm trying this format:

   remove<ForwardIterator>("aba", ..., 'a') ==>
   ">90:b<91:b92:a"; unstable at offset 0 element ids: 90 and 91

Let me know what you think.

Martin

Mime
View raw message