220 7650 <433a9ee1-0ae3-4af7-ad93-028e416075ad@isocpp.org> article
Path: news.gmane.org!not-for-mail
From: euloanty@live.com
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Could we remove the size() method in the std::list<T>?
Date: Sat, 9 Nov 2013 08:33:06 -0800 (PST)
Lines: 53
Approved: news@gmane.org
Message-ID: <433a9ee1-0ae3-4af7-ad93-028e416075ad@isocpp.org>
References: <9be1f793-a061-4193-8a91-eedc81fa703e@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; 
	boundary="----=_Part_1057_8721406.1384014786657"
X-Trace: ger.gmane.org 1384014790 31159 80.91.229.3 (9 Nov 2013 16:33:10 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Sat, 9 Nov 2013 16:33:10 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBDPYX6PYRQNBBRGH7GJQKGQEOCLZTBY@isocpp.org Sat Nov 09 17:33:16 2013
Return-path: <std-proposals+bncBDPYX6PYRQNBBRGH7GJQKGQEOCLZTBY@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-pa0-f69.google.com ([209.85.220.69])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBDPYX6PYRQNBBRGH7GJQKGQEOCLZTBY@isocpp.org>)
	id 1VfBTC-0001Pd-FU
	for gclcip-std-proposals@m.gmane.org; Sat, 09 Nov 2013 17:33:10 +0100
Original-Received: by mail-pa0-f69.google.com with SMTP id kx10sf5981938pab.0
        for <gclcip-std-proposals@m.gmane.org>; Sat, 09 Nov 2013 08:33:09 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:date:from:to:message-id:in-reply-to:references
         :subject:mime-version:x-original-sender:reply-to:precedence
         :mailing-list:list-id:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe:content-type;
        bh=UnLtimMXpqNBvLdbWYdJ2Gs6MItbMfqNyKixrFsJukI=;
        b=IoQiaPpuGuSrjTBeQqmUpaeevVTQnTOt2oq03JSuAoaHHRAB3i7Qax163YcBSbC9Cx
         TD0/vI4k4sfutawhQ1pDl5ClsPG5b0ezdAybg4hB6SaEPJlWoV+4vX77LqeoOMYoRcZN
         u2c4sRyo3/GCAh5+cxVX0Am9Oa5z08Bfay4G24e8BJAus0H172768j9cjFe39ZbjLJy/
         vmpenTw4eZGVOzJKO7jtMeud3H/yqv5fJLKaM2vmNCKr9BhCLnzFGpsQkIVikHwl8Ri5
         a5F6RX8sl/xuI3KqqGHXQEVSj9J3p+zlKz7CFk0zjDg4Mps1M/gJs5uk/GsyTS3cwSQA
         AEqA==
X-Gm-Message-State: ALoCoQnyosH0GM+MYAMJkQnRNlcrPLa+kR64mTO+ewwHMIYLsgjkX2DFoEOQGL0OGaw3Pz3SRSLz
X-Received: by 10.69.20.107 with SMTP id hb11mr6517761pbd.2.1384014789013;
        Sat, 09 Nov 2013 08:33:09 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.50.12.2 with SMTP id u2ls1450814igb.11.canary; Sat, 09 Nov
 2013 08:33:08 -0800 (PST)
X-Received: by 10.50.8.42 with SMTP id o10mr150337iga.3.1384014787878;
        Sat, 09 Nov 2013 08:33:07 -0800 (PST)
In-Reply-To: <9be1f793-a061-4193-8a91-eedc81fa703e@isocpp.org>
X-Original-Sender: euloanty@live.com
Precedence: list
Mailing-list: list std-proposals@isocpp.org; contact std-proposals+owners@isocpp.org
List-ID: <std-proposals.isocpp.org>
X-Google-Group-Id: 399137483710
List-Post: <http://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <http://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <http://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:std-proposals+subscribe@isocpp.org>
List-Unsubscribe: <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:7650
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/7650>

------=_Part_1057_8721406.1384014786657
Content-Type: text/plain; charset=ISO-8859-1

1.It makes most of the operations of std::list slower;
2.std::forward_list don't have this method. This makes people very confused.
3.the method splice() becomes much slower.
4.We know our library couldn't make people very confused. That was why we 
didn't define the operator[] in the std::list<>;
5.The function of this method can be easily implied by programmers 
themselves. We know this function had been defined clearly in cpp11, but in 
the cpp98, its time-complexity is not defined clearly. For this reason, in 
the past we almost didn't use it. So  I think this change won't make so 
many codes invalid.

-- 

--- 
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposals/.

------=_Part_1057_8721406.1384014786657
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>1.It makes most of the operations of&nbsp;std::list s=
lower;</div><div>2.std::forward_list don't have this method. This makes peo=
ple very&nbsp;confused.</div><div>3.the method&nbsp;splice() becomes much s=
lower.</div><div>4.We know our library couldn't make people very confused. =
That was&nbsp;why we didn't define the operator[] in the std::list&lt;&gt;;=
</div><div>5.The function of this method can&nbsp;be easily implied by prog=
rammers themselves. We know this function had been defined clearly&nbsp;in =
cpp11,&nbsp;but in the cpp98, its time-complexity is not defined clearly. F=
or this reason,&nbsp;in the past we&nbsp;almost didn't&nbsp;use it. So &nbs=
p;I think this change won't make so many codes invalid.<br></div></div>

<p></p>

-- <br />
&nbsp;<br />
--- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to std-proposals+unsubscribe@isocpp.org.<br />
To post to this group, send email to std-proposals@isocpp.org.<br />
Visit this group at <a href=3D"http://groups.google.com/a/isocpp.org/group/=
std-proposals/">http://groups.google.com/a/isocpp.org/group/std-proposals/<=
/a>.<br />

------=_Part_1057_8721406.1384014786657--

.
