From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 47434 invoked by alias); 28 Sep 2017 12:12:22 -0000 Mailing-List: contact libstdc++-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libstdc++-owner@gcc.gnu.org Received: (qmail 47399 invoked by uid 89); 28 Sep 2017 12:12:21 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=highly, HContent-Transfer-Encoding:8bit X-Spam-User: qpsmtpd, 2 recipients X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 28 Sep 2017 12:12:16 +0000 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id B127F18B52F; Thu, 28 Sep 2017 12:12:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com B127F18B52F Authentication-Results: ext-mx04.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx04.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=jwakely@redhat.com Received: from localhost (unknown [10.33.36.48]) by smtp.corp.redhat.com (Postfix) with ESMTP id 2D8E28F37E; Thu, 28 Sep 2017 12:12:14 +0000 (UTC) Date: Thu, 28 Sep 2017 12:12:00 -0000 From: Jonathan Wakely To: =?iso-8859-1?Q?Fran=E7ois?= Dumont Cc: "libstdc++@gcc.gnu.org" , gcc-patches Subject: Re: Make tests less istreambuf_iterator implementation dependent Message-ID: <20170928121213.GM4582@redhat.com> References: <154b3b11-5b95-2c81-fb4d-408e9e0db374@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <154b3b11-5b95-2c81-fb4d-408e9e0db374@gmail.com> X-Clacks-Overhead: GNU Terry Pratchett User-Agent: Mutt/1.8.3 (2017-05-23) X-IsSubscribed: yes X-SW-Source: 2017-09/txt/msg00099.txt.bz2 On 27/09/17 22:16 +0200, François Dumont wrote: >Hi > >    I just committed attached patch as trivial. > >    Those tests were highly istreambuf_iterator implementation, it is >the result of the call to money_get<>::get which is pointing >immediately beyond the last character recognized to quote Standard >words. But according to the standard's specification for istreambuf_iterator it makes no difference, because both iterators point to the same streambuf and share the state.