Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 89471 invoked from network); 9 Jun 2006 17:38:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 Jun 2006 17:38:52 -0000 Received: (qmail 51203 invoked by uid 500); 9 Jun 2006 17:38:52 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 51187 invoked by uid 500); 9 Jun 2006 17:38:51 -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 51176 invoked by uid 99); 9 Jun 2006 17:38:51 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Jun 2006 10:38:51 -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; Fri, 09 Jun 2006 10:38:51 -0700 Received: from qxvcexch01.ad.quovadx.com ([192.168.170.59]) by moroha.quovadx.com (8.13.4/8.13.4) with ESMTP id k59HbbSV020079 for ; Fri, 9 Jun 2006 17:37:37 GMT Received: from [10.70.3.113] ([10.70.3.113]) by qxvcexch01.ad.quovadx.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 9 Jun 2006 11:38:43 -0600 Message-ID: <4489B216.5070208@roguewave.com> Date: Fri, 09 Jun 2006 11:38:30 -0600 From: Martin Sebor Organization: Rogue Wave Software 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: r412249 - in /incubator/stdcxx/trunk/tests: include/21.strings.h src/21.strings.cpp References: <4D6A8407B7AC6F4D95B0E55C4E7C4C62045BD64B@exmsk.moscow.vdiweb.com> In-Reply-To: <4D6A8407B7AC6F4D95B0E55C4E7C4C62045BD64B@exmsk.moscow.vdiweb.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 09 Jun 2006 17:38:43.0621 (UTC) FILETIME=[8D9ED550:01C68BEB] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Anton Pevtsov wrote: > Here are the diffs to the ctor test required by the testing of the range > overloads: > http://people.apache.org/~antonp/stdcxx06092006/ Why don't we reuse the virtual RangeBase member function used for other template members and have test_ctor pass it str_arg? CtorRange would ignore the argument and CtorRangeOverload would use it instead of re-creating its own copy. Btw., I think you have a copy-n-paste typo in test_cons: the name of the RangeBase and CtorRangeOverload objects should probably not be "app." Your "rng" (from test_ctor() argument) sounds better and, if used consistently throughout the all the tests (which I should have thought of) would avoid these kinds of typos. Finally, I'd like to use either "cons" or "ctor" in the names of all functions. I don't really care which as long as we are consistent (although given the name of the test we need to go with cons :) With that: okay to commit. Thanks Martin