220 7689 <CAFk2RUZPkXdaDYBQ_bpbzOq8t-K_0q8x6+W6B=-=8V9HwPoAEg@mail.gmail.com> article
Path: news.gmane.org!not-for-mail
From: Ville Voutilainen <ville.voutilainen@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Re: Could we remove the size() method in the std::list<T>?
Date: Mon, 11 Nov 2013 14:58:00 +0200
Lines: 38
Approved: news@gmane.org
Message-ID: <CAFk2RUZPkXdaDYBQ_bpbzOq8t-K_0q8x6+W6B=-=8V9HwPoAEg@mail.gmail.com>
References: <9be1f793-a061-4193-8a91-eedc81fa703e@isocpp.org>
	<88d5dee3-143a-4e8c-9682-6ef597450ffe@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 1384174685 20092 80.91.229.3 (11 Nov 2013 12:58:05 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Mon, 11 Nov 2013 12:58:05 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBC5JHI7A7ALRBWFIQOKAKGQEPV7YSZY@isocpp.org Mon Nov 11 13:58:09 2013
Return-path: <std-proposals+bncBC5JHI7A7ALRBWFIQOKAKGQEPV7YSZY@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-pd0-f200.google.com ([209.85.192.200])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBC5JHI7A7ALRBWFIQOKAKGQEPV7YSZY@isocpp.org>)
	id 1Vfr47-00028n-Uj
	for gclcip-std-proposals@m.gmane.org; Mon, 11 Nov 2013 13:58:04 +0100
Original-Received: by mail-pd0-f200.google.com with SMTP id w10sf9492985pde.7
        for <gclcip-std-proposals@m.gmane.org>; Mon, 11 Nov 2013 04:58:02 -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=J6qAVaEJCDcVkL5iFgGZ4IXfhF5bBMAI/BPUrQ1csqU=;
        b=e0Ul+zHjybcK/F7xqN+kkSODczUPYeGpmPDsHIQTK6LWWbqeBkVLEbosK7Gzx/WNnE
         SrwC8ecrEQ2kuE/e/kD5eUgwUn9RRCd1+RPqaWqbNS/LP1KNgN02ZeZy4Kuwo76KxCNC
         MyYDFBdpnLNics/fsLBHnNwJnMKGbt1jEjlyrwxHOe/QRZMX1CicWUMqU6S99Nk13CRt
         2wCNKVneMd3XdG/lvOtga6RhyWyst498LfyTF7NF1BMlrgtH28FqIpzSd/EN3Jlrh3kg
         3wham0mHkrIYvdny7iwiH4Gd00l68q7GlNCwiE7gVXCkbFrgjobUjkMo0QxuN1UXT3uO
         F6ZQ==
X-Gm-Message-State: ALoCoQmw96l03u3Q4L0cgaqvl3gC7WVzeBPU1l/DkEThXIKGMMI+THLQyZ/E9x6yPCVOQoI6vwHo
X-Received: by 10.66.189.163 with SMTP id gj3mr9850345pac.32.1384174682772;
        Mon, 11 Nov 2013 04:58:02 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.49.129.166 with SMTP id nx6ls2445628qeb.12.gmail; Mon, 11 Nov
 2013 04:58:00 -0800 (PST)
X-Received: by 10.224.51.131 with SMTP id d3mr49363626qag.0.1384174680771;
        Mon, 11 Nov 2013 04:58:00 -0800 (PST)
Original-Received: from mail-qc0-x22e.google.com (mail-qc0-x22e.google.com [2607:f8b0:400d:c01::22e])
        by mx.google.com with ESMTPS id t8si15299822qak.127.2013.11.11.04.58.00
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Mon, 11 Nov 2013 04:58:00 -0800 (PST)
Received-SPF: pass (google.com: domain of ville.voutilainen@gmail.com designates 2607:f8b0:400d:c01::22e as permitted sender) client-ip=2607:f8b0:400d:c01::22e;
Original-Received: by mail-qc0-f174.google.com with SMTP id v2so498034qcr.33
        for <std-proposals@isocpp.org>; Mon, 11 Nov 2013 04:58:00 -0800 (PST)
X-Received: by 10.229.127.74 with SMTP id f10mr47097668qcs.16.1384174680607;
 Mon, 11 Nov 2013 04:58:00 -0800 (PST)
Original-Received: by 10.224.11.197 with HTTP; Mon, 11 Nov 2013 04:58:00 -0800 (PST)
In-Reply-To: <88d5dee3-143a-4e8c-9682-6ef597450ffe@isocpp.org>
X-Original-Sender: ville.voutilainen@gmail.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of ville.voutilainen@gmail.com designates 2607:f8b0:400d:c01::22e as
 permitted sender) smtp.mail=ville.voutilainen@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:7689
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/7689>

On 11 November 2013 12:21,  <euloanty@live.com> wrote:
> I think the std::list<> should be used as the fastest efficiency just as
> std::forward_list<>. We should use standard containers (not the c-style
> array, c-style string) to develop all the programs including an operating
> system. To calculate the size must bring more costs of time and space.
>
> Counting the size is very easy for a programmer.
>
>
>
> list.push_back(3);
>
> ++listsize;
>
>
>
> list.pop_back(3);
>
> --listsize;

And when you pass a list to a function, you want to always pass the size too?
Otherwise the function needs to do a linear operation to find the size.


You don't seem to listen to the explanations people have given, but
this deprecation/removal
will not happen. Proposing it is a waste of everybody's time, and
discussing it seems to be
too.

-- 

--- 
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/.

.
