Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 18715 invoked from network); 27 Sep 2006 16:26:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Sep 2006 16:26:41 -0000 Received: (qmail 64882 invoked by uid 500); 27 Sep 2006 16:26:40 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 64868 invoked by uid 500); 27 Sep 2006 16:26:40 -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 64857 invoked by uid 99); 27 Sep 2006 16:26:40 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Sep 2006 09:26:40 -0700 Authentication-Results: idunn.apache.osuosl.org smtp.mail=sebor@roguewave.com; spf=permerror X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received-SPF: error (idunn.apache.osuosl.org: domain roguewave.com from 208.30.140.160 cause and error) Received: from [208.30.140.160] ([208.30.140.160:26205] helo=moroha.quovadx.com) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 02/50-29405-D36AA154 for ; Wed, 27 Sep 2006 09:26:38 -0700 Received: from qxvcexch01.ad.quovadx.com (qxvcexch01.ad.quovadx.com [192.168.170.59]) by moroha.quovadx.com (8.13.6/8.13.6) with ESMTP id k8RGQ3Fd027499 for ; Wed, 27 Sep 2006 16:26:03 GMT Received: from [10.70.3.113] ([10.70.3.113]) by qxvcexch01.ad.quovadx.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 27 Sep 2006 10:26:37 -0600 Message-ID: <451AA641.3030803@roguewave.com> Date: Wed, 27 Sep 2006 10:26:41 -0600 From: Martin Sebor Organization: Rogue Wave Software User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060417 X-Accept-Language: en-us, en MIME-Version: 1.0 To: stdcxx-dev@incubator.apache.org Subject: Re: [PATCH] MSVC 7.0 stdlib compatibility patch References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 27 Sep 2006 16:26:37.0850 (UTC) FILETIME=[B4B30FA0:01C6E251] X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Farid Zaripov wrote: [...] > The simple solution is replace template version of > the > __rw_iter_failed (const _OutputIter&) to the non-template > __rw_iter_failed (...). That won't work for class types (only fundamental types can be passed through the ellipsis). Would getting rid of the const reference work or does it have the same problem? __rw_iter_failed (_OutputIter). Or how about defining two ordinary overloads and the template as a workaround: __rw_iter_failed (const _OutputIter&); __rw_iter_failed (const std::ostreambuf_iterator&); __rw_iter_failed (const std::ostreambuf_iterator&); Martin