220 7649 <CAGNvRgBSX=7NLqS9gLWYG7gtYHs2SjXtRyLOQn1DAv1f+S9=nA@mail.gmail.com> article
Path: news.gmane.org!not-for-mail
From: =?ISO-8859-1?Q?Daniel_Kr=FCgler?= <daniel.kruegler@gmail.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 17:13:16 +0100
Lines: 21
Approved: news@gmane.org
Message-ID: <CAGNvRgBSX=7NLqS9gLWYG7gtYHs2SjXtRyLOQn1DAv1f+S9=nA@mail.gmail.com>
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: text/plain; charset=ISO-8859-1
X-Trace: ger.gmane.org 1384013593 19476 80.91.229.3 (9 Nov 2013 16:13:13 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Sat, 9 Nov 2013 16:13:13 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCT7RVFA4QORBHF67GJQKGQEFN2R4UA@isocpp.org Sat Nov 09 17:13:18 2013
Return-path: <std-proposals+bncBCT7RVFA4QORBHF67GJQKGQEFN2R4UA@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-la0-f72.google.com ([209.85.215.72])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCT7RVFA4QORBHF67GJQKGQEFN2R4UA@isocpp.org>)
	id 1VfB9y-00029L-DU
	for gclcip-std-proposals@m.gmane.org; Sat, 09 Nov 2013 17:13:18 +0100
Original-Received: by mail-la0-f72.google.com with SMTP id n7sf2623552lam.3
        for <gclcip-std-proposals@m.gmane.org>; Sat, 09 Nov 2013 08:13:18 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:mime-version:in-reply-to:references:date
         :message-id:subject:from:to:x-original-sender
         :x-original-authentication-results:reply-to:precedence:mailing-list
         :list-id:list-post:list-help:list-archive:list-subscribe
         :list-unsubscribe:content-type;
        bh=YqIc0vEAXsoPAZQLWRoN/YHnYK7lmQKbweazFr0oK9Y=;
        b=Hp4fBc+Jk7ucOSXtKIglexlEU4YBS3hlcP85GgZ5WavfzzyhEBNng/1bA/rpccOCUU
         SaHNwaknKDu9luxtts9Puq/NXaKv6rFwM4Du/pp9vGq77s6iLq0CfX5+X3hPqfPCHi0Q
         JWe4zFtCaZEDay1RXsj1HjawTtIpxphQWyed1dagbE99sv1StxqDfj/ppBTaO+9MsnG9
         UtujWerDAlmb8gz9QqDncLXXqU8cTdRnFmrNoB2pGlghPnn15lGIp88LkKKv0MGWLMwP
         15CGuh4m4ZSILBfBrAoMeL00S4HtA3/vtphejgzvPSVvUnv8zL9xi0bKbpeNx7sqYOaV
         UNQQ==
X-Gm-Message-State: ALoCoQn4KwEgCc8QcpLT1oelv1bQBVxkOi2I1yO80o9qO4clmEweMcsWi94z6GQzw224tXBIgD1l
X-Received: by 10.14.210.3 with SMTP id t3mr7826877eeo.5.1384013598003;
        Sat, 09 Nov 2013 08:13:18 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.180.81.229 with SMTP id d5ls442854wiy.21.canary; Sat, 09 Nov
 2013 08:13:16 -0800 (PST)
X-Received: by 10.194.173.163 with SMTP id bl3mr16764037wjc.10.1384013596646;
        Sat, 09 Nov 2013 08:13:16 -0800 (PST)
Original-Received: from mail-we0-x235.google.com (mail-we0-x235.google.com [2a00:1450:400c:c03::235])
        by mx.google.com with ESMTPS id ky3si6755727wjb.168.2013.11.09.08.13.16
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Sat, 09 Nov 2013 08:13:16 -0800 (PST)
Received-SPF: pass (google.com: domain of daniel.kruegler@gmail.com designates 2a00:1450:400c:c03::235 as permitted sender) client-ip=2a00:1450:400c:c03::235;
Original-Received: by mail-we0-f181.google.com with SMTP id t60so3084906wes.40
        for <std-proposals@isocpp.org>; Sat, 09 Nov 2013 08:13:16 -0800 (PST)
X-Received: by 10.180.10.136 with SMTP id i8mr6397201wib.46.1384013596448;
 Sat, 09 Nov 2013 08:13:16 -0800 (PST)
Original-Received: by 10.216.169.71 with HTTP; Sat, 9 Nov 2013 08:13:16 -0800 (PST)
In-Reply-To: <9be1f793-a061-4193-8a91-eedc81fa703e@isocpp.org>
X-Original-Sender: daniel.kruegler@gmail.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of daniel.kruegler@gmail.com designates 2a00:1450:400c:c03::235 as
 permitted sender) smtp.mail=daniel.kruegler@gmail.com;       dkim=pass
 header.i=@gmail.com;       dmarc=pass (p=NONE dis=NONE) header.from=gmail.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:7649
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/7649>

2013/11/9  <euloanty@live.com>:
> Could we remove the size() method in the std::list<T>?
> This method is too strange in the std::list<T>.

I have not really understand the reason for such a change, please
explain. "Too strange" is not really an objective  criterion to me.

Irrespective of the motivation it should be noted that the size()
member of list exists from the initial release of the C++ Standard
Library. Removing that member would break well-defined code.

- Daniel

-- 

--- 
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/.

.
