From 2579907818837914010
X-Google-Thread: f78e5,ac8f7c796c0ee2eb
X-Google-Attributes: gidf78e5,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Path: g2news1.google.com!news4.google.com!out04b.usenetserver.com!news.usenetserver.com!in01.usenetserver.com!news.usenetserver.com!news.alt.net!comp-std-cpp-robomod!not-for-mail
From: Andrey <andrey_ryabov@bk.ru>
Newsgroups: comp.std.c++
Subject: Re: std::pair istream >> operator
Date: Wed, 21 Nov 2007 11:54:17 CST
Organization: http://groups.google.com
Lines: 14
Approved: Fergus Henderson <fjh@cs.mu.oz.au>, moderator of comp.std.c++
Message-ID: <63447783-3e0d-41f8-98a6-62f69025e631@d50g2000hsf.googlegroups.com>
References: <a7eb92bf-1ab8-438d-8bca-b6f7cfcc056c@o6g2000hsd.googlegroups.com> 
	<92a741eb-f9f2-40dc-b252-5f53a451af13@w34g2000hsg.googlegroups.com> 
	<84eb137f-aa46-443e-8f6a-912487da73ad@p69g2000hsa.googlegroups.com> 
	<MPG.21a93d925d61f8a989a9e@news.sunsite.dk> <c6dd44f5-b0eb-45ef-be8b-ee5d410ed626@e4g2000hsg.googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Trace: posting.google.com 1195660425 24411 127.0.0.1 (21 Nov 2007 15:53:45 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 21 Nov 2007 15:53:45 +0000 (UTC)
Return-Path: <devnull@stump.algebra.com>
X-Authentication-Warning: mulga.csse.unimelb.edu.au: fjh set sender to devnull@stump.algebra.com using -f
X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov)
X-Original-To: std-c++@mailman.ucar.edu
Delivered-To: std-c++@mailman.ucar.edu
X-SMTP-Auth: no
Complaints-To: groups-abuse@google.com
Injection-Info: d50g2000hsf.googlegroups.com; posting-host=194.154.76.130; 
	posting-account=WZ-1zQoAAAAPaPX2mjMibGk6oRGuI-OS
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.8.1.9) 
	Gecko/20071025 Firefox/2.0.0.9,gzip(gfe),gzip(gfe)
Content-Disposition: inline
X-Virus-Scanned: amavisd-new at ucar.edu
X-Virus-Scanned: amavisd-new at csse.unimelb.edu.au
X-Virus-Scanned: amavisd-new at csse.unimelb.edu.au
Xref: g2news1.google.com comp.std.c++:9665

All you have said definitely make sense!

But the boost::tuple has these operators defined (in
subnamespace ::tuples), look at this:
http://www.boost.org/libs/tuple/doc/tuple_users_guide.html#streaming
so the question become: Why does BGL use std::pair instead of
boost::tuple?

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.comeaucomputing.com/csc/faq.html                      ]



