From stdcxx-dev-return-5891-apmail-incubator-stdcxx-dev-archive=incubator.apache.org@incubator.apache.org Tue Oct 30 21:50:09 2007 Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 97487 invoked from network); 30 Oct 2007 21:50:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Oct 2007 21:50:08 -0000 Received: (qmail 43984 invoked by uid 500); 30 Oct 2007 21:48:05 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 43972 invoked by uid 500); 30 Oct 2007 21:48:05 -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 43959 invoked by uid 99); 30 Oct 2007 21:48:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Oct 2007 14:48:05 -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 mark.g.brown@gmail.com designates 209.85.162.176 as permitted sender) Received: from [209.85.162.176] (HELO el-out-1112.google.com) (209.85.162.176) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Oct 2007 21:48:09 +0000 Received: by el-out-1112.google.com with SMTP id y26so558899ele for ; Tue, 30 Oct 2007 14:47:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=88imFEsbr6aZgz+Kl4jX3P3NdkeJJlMxnUnrkQQY3/E=; b=PFuB9kgSWC6CaFcpURsEXyI58QyRmq+ESmRJSXoDrVbBIIfY8IDrhIXNF2wkva+qm3/LM0Knf4KBggdED2EbVjDF/8intFMVzdWQWmVwQh+MU6Bz7CSyalhmWM5sJCDbUq5Enxd0R3xwNjFG6++crFbek1N0+rFNwV794KK40lc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Rvao5AoyfNUcf86kf2lBVU3qap4sWm50aPJALSH4aLv7KcYca4NIHEt54TLkZhBZl6umwObIVWqUHqWolxeAFLZ8G+6HZHmkwsQmejg4zB6JHXZtvEa6kJhRtUVzuzST+niQMt3otHTgETGRdTVQy779WqqUVI9SsqGou0Vb3gM= Received: by 10.142.241.10 with SMTP id o10mr1906383wfh.1193780867938; Tue, 30 Oct 2007 14:47:47 -0700 (PDT) Received: by 10.143.157.6 with HTTP; Tue, 30 Oct 2007 14:47:47 -0700 (PDT) Message-ID: <2494433f0710301447r2914b44cq77a08e8e5d74657f@mail.gmail.com> Date: Tue, 30 Oct 2007 15:47:47 -0600 From: "Mark Brown" To: stdcxx-dev@incubator.apache.org Subject: stream iterators into different streams compare equal? MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org Hi all, I have the simple program below that aborts with the latest stdcxx but runs with no problems with g++. Am I missing something or is this a bug in stdcxx? #include #include #include int main () { std::istringstream a ("1"); std::istream_iterator i (a); std::istringstream b ("2"); std::istream_iterator j (b); assert (!(i == j)); } --Mark