Return-Path: Delivered-To: apmail-stdcxx-dev-archive@www.apache.org Received: (qmail 10197 invoked from network); 5 Sep 2008 19:57:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Sep 2008 19:57:55 -0000 Received: (qmail 60956 invoked by uid 500); 5 Sep 2008 19:57:53 -0000 Delivered-To: apmail-stdcxx-dev-archive@stdcxx.apache.org Received: (qmail 60929 invoked by uid 500); 5 Sep 2008 19:57:53 -0000 Mailing-List: contact dev-help@stdcxx.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stdcxx.apache.org Delivered-To: mailing list dev@stdcxx.apache.org Received: (qmail 60918 invoked by uid 99); 5 Sep 2008 19:57:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Sep 2008 12:57:53 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of msebor@gmail.com designates 209.85.198.230 as permitted sender) Received: from [209.85.198.230] (HELO rv-out-0506.google.com) (209.85.198.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Sep 2008 19:56:52 +0000 Received: by rv-out-0506.google.com with SMTP id g37so546194rvb.23 for ; Fri, 05 Sep 2008 12:57:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=aDDGAXUXftcWdVCQeDdWbSMODE9insAFpsI28ZV3rCg=; b=IGqGG5EAyyAabFEsB9HFIk/tZtpIAe2BPrgBs2ndIXdkVsPlbOFD6l+5dQ+1qjCifq CYG7KPclUvYpeCtBtLqD4k0S306N7qFmIYbEme1dEoPpSO3653chLB8sVK/byooVMJKv X0LkucScWKRYFrNPPyGMXdCZWqZrCY1+7yxTw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=XzCVgJlijPT8XSUU023XAKLo+Ggu/6H/Ow+L9RPDMkmlUBhNiHa34GrE9NaQykbjka /NNv7NqHP7Ysz8P30Zk4YoeLjP7TZRg7rszJMigsZgwSzOoiSqBe+OSDSm2MwoX2r3Q4 mSyyT9hszR/tYcUdBqi10P7d4JEKlutqiDF1w= Received: by 10.141.53.20 with SMTP id f20mr6883864rvk.128.1220644634176; Fri, 05 Sep 2008 12:57:14 -0700 (PDT) Received: from bugsy.net ( [71.229.200.170]) by mx.google.com with ESMTPS id k41sm1198947rvb.9.2008.09.05.12.57.11 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 05 Sep 2008 12:57:12 -0700 (PDT) Message-ID: <48C18F15.1080901@gmail.com> Date: Fri, 05 Sep 2008 13:57:09 -0600 From: Martin Sebor User-Agent: Thunderbird 2.0.0.16 (X11/20080723) MIME-Version: 1.0 To: dev@stdcxx.apache.org Subject: Re: std::string::{assign|append|insert|replace} ([iterator, iterator,] size_type, value_type) ambiguous References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Farid Zaripov wrote: > While testing boost the Performance.cpp test from statechart library fails to compile: > > http://beta.boost.org/development/tests/trunk/developer/output/msvc-9-0-x64-stdcxx-4-2-2-boost-bin-v2-libs-statechart-test-PerformanceExample-test-msvc-9-0_s-dbg-adrs-mdl-64-archt-x86-stdlb-stdcx-4-2-2-thrd-mlt.html > > On the other STL's that test compiled without errors. > > I've created an Improvement JIRA issue: STDCXX-1009 (https://issues.apache.org/jira/browse/STDCXX-1009). I assume you set it to Improvement because you don't think the test case is well-formed? I would have expected the general container requirements to apply here, i.e., For every sequence container defined in this clause and in clause 21: -- If the constructor template X (InputIterator first, InputIterator last, const allocator_type& alloc = allocator_type()) is called with a type InputIterator that does not qualify as an input iterator, then the constructor will behave as if the overloaded constructor: X (size_type, const value_type& = value_type(), const allocator_type& = allocator_type()) were called instead, with the arguments static_cast(first), last and alloc, respectively. Martin