Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 14583 invoked from network); 20 Dec 2005 21:52:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Dec 2005 21:52:19 -0000 Received: (qmail 4240 invoked by uid 500); 20 Dec 2005 21:52:19 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 4227 invoked by uid 500); 20 Dec 2005 21:52:18 -0000 Mailing-List: contact stdcxx-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-dev@incubator.apache.org Received: (qmail 4216 invoked by uid 99); 20 Dec 2005 21:52:18 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Dec 2005 13:52:18 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [12.17.213.84] (HELO bco-exchange.bco.roguewave.com) (12.17.213.84) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Dec 2005 13:52:18 -0800 Received: from [10.70.3.113] (10.70.3.113 [10.70.3.113]) by bco-exchange.bco.roguewave.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id ZGW27W9X; Tue, 20 Dec 2005 14:46:20 -0700 Message-ID: <43A87DCB.9070708@roguewave.com> Date: Tue, 20 Dec 2005 14:55:23 -0700 From: Martin Sebor User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050920 X-Accept-Language: en-us, en MIME-Version: 1.0 To: stdcxx-dev@incubator.apache.org Subject: Re: test for lib.alg.remove References: <43A82577.3090102@moscow.vdiweb.com> <43A86A1F.9070007@roguewave.com> In-Reply-To: <43A86A1F.9070007@roguewave.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Martin Sebor wrote: [...] > Now, consider this more involved output: > > # ITRACE_ASSERTION (S0) (3 lines): > # TEXT: line 279: remove("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 : pair of each element in the resulting > sequence, with each 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("aba", ..., 'a') ==> ">90:b<91:b92:a"; unstable at offset 0 element ids: 90 and 91 Let me know what you think. Martin