Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 800 invoked from network); 24 Apr 2006 02:07:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 24 Apr 2006 02:07:35 -0000 Received: (qmail 90246 invoked by uid 500); 24 Apr 2006 02:07:34 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 90195 invoked by uid 500); 24 Apr 2006 02:07:34 -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 90184 invoked by uid 99); 24 Apr 2006 02:07:34 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 23 Apr 2006 19:07:34 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [208.30.140.160] (HELO moroha.quovadx.com) (208.30.140.160) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 23 Apr 2006 19:07:33 -0700 Received: from bco-exchange.bco.roguewave.com (bco-exchange.bco.roguewave.com [172.19.31.48]) by moroha.quovadx.com (8.13.4/8.13.4) with ESMTP id k3O2783S006520 for ; Mon, 24 Apr 2006 02:07:08 GMT 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 2YG6DY02; Sun, 23 Apr 2006 20:04:08 -0600 Message-ID: <444C32DD.1070303@roguewave.com> Date: Sun, 23 Apr 2006 20:07:25 -0600 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: svn commit: r396375 [1/2] - in /incubator/stdcxx/trunk/tests: include/21.strings.h src/21.strings.cpp strings/21.string.append.cpp strings/21.string.assign.cpp strings/21.string.replace.cpp References: <20060424015819.97735.qmail@minotaur.apache.org> In-Reply-To: <20060424015819.97735.qmail@minotaur.apache.org> 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 sebor@apache.org wrote: > Author: sebor > Date: Sun Apr 23 18:58:16 2006 > New Revision: 396375 Anton, this implements some of the features we discussed. In the process of consolidating code from the individual tests into the 21.strings.cpp driver file I inadvertently removed some of the command line option handling. I'll put it back tomorrow. I also plan on moving some additional code from the tests into the driver and streamlining them even further. Let me know how this looks to you and if you have any suggestions for changes and/or improvements. Martin > > URL: http://svn.apache.org/viewcvs?rev=396375&view=rev > Log: > 2006-04-23 Martin Sebor > > * 21.strings.h (UnknownChar, UnknownTraits, UnknownAllocator): Added. > (sig_void): Defined to 1 instead of 0 to distinguish an "unknown" > value from a known one. > (MemberId): New member indentifying a set of overloads of a given > member function of basic_string. > (SignatureId): Renamed from MemberFunction and defined partly in > terms of MemberId constants. > (Function): New struct uniquely identifying a specific overload of > a given member function of a particular specialization of basic_string. > (setvars): Renamed from format, changed signature and semantics and > made private. > (run_test): New function to run all test cases defined by a test. > * 21.strings.cpp (setvars): Defined the environment variables CLASS, > FUNC, FUNCSIG, and FUNCALL to the name of the specialization of the > class template, the name of the member function, and the name of the > overload of the member function, respectively, and optionally, the > call to the member function with argument expanded. > (run_test): Runs all test cases specified by each test. > * 21.string.append.cpp: Simplified by using the above. > (MemFun): Defined to StringMembers::Function. > (tests): Made static local and removed function signatures obviated > by the above changes. > * 21.string.assign.cpp: Same. > * 21.string.replace.cpp: Same. [...]