220 11493 <CAGg_6+NmSDZpzGrEiV7daZtkQ44bjvx6uM1qdngF3kZRG=+Crw@mail.gmail.com> article
Path: news.gmane.org!not-for-mail
From: Nevin Liber <nevin@eviloverlord.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Controversy and debate: Uninitialized variables
 by default is a bug
Date: Tue, 17 Jun 2014 18:29:22 +0200
Lines: 64
Approved: news@gmane.org
Message-ID: <CAGg_6+NmSDZpzGrEiV7daZtkQ44bjvx6uM1qdngF3kZRG=+Crw@mail.gmail.com>
References: <60caa4ef-b32d-40fe-97b6-8918fbb2bd51@isocpp.org>
 <CAFk2RUYuHAmfzOR8CB_f6kgwPSnd7=sHP=qDy3pMO98cfbqcLA@mail.gmail.com>
 <0c70b26d-9af9-498d-b27f-37cf7afe9655@isocpp.org> <CAFk2RUboZxZxoBWZqLJ+phWNiQTqRrGx_-Us8g7TPTy3Xq6FrQ@mail.gmail.com>
 <5c9d83ad-b2ba-4b4f-8344-f2a1755ef98d@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary=047d7b3a8176d60ea304fc0aa7cb
X-Trace: ger.gmane.org 1403022612 32074 80.91.229.3 (17 Jun 2014 16:30:12 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Tue, 17 Jun 2014 16:30:12 +0000 (UTC)
To: "std-proposals@isocpp.org" <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBCE35H5S6IDBBC62QGOQKGQEV3ANNQA@isocpp.org Tue Jun 17 18:30:05 2014
Return-path: <std-proposals+bncBCE35H5S6IDBBC62QGOQKGQEV3ANNQA@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-lb0-f199.google.com ([209.85.217.199])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCE35H5S6IDBBC62QGOQKGQEV3ANNQA@isocpp.org>)
	id 1WwwGq-0005yp-Hn
	for gclcip-std-proposals@m.gmane.org; Tue, 17 Jun 2014 18:30:04 +0200
Original-Received: by mail-lb0-f199.google.com with SMTP id l4sf4644818lbv.6
        for <gclcip-std-proposals@m.gmane.org>; Tue, 17 Jun 2014 09:30:04 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:mime-version:sender:in-reply-to:references:from
         :date:message-id:subject: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=ETwt7DNNhARV6kIMhXzDQHUqUoOvU/+y6VCgBy0CADM=;
        b=YDqL+1QITZJZvGENH4OgRdtYJ55jdF6sLP6HXvEe3k2FqUHCOGedbzZSrdKsN2biQS
         RC2v35G8uTKz+yi4j5vUhIEOXn8m81Mrs9GC8L03PXSmCeKr9EyhXQX8FdYHkKlLOicq
         ROCHdcuzKJf6LrYztfHJYxDj4IqKgaBOa2AcpdwIoT9RS6G5e6VO6z8JnRuCjkMALQ13
         hjnY1SCtPJJRdt4evZrFehXSPRP6oRRuZneWkHqpwVTML8MRQjYrLfF8BPF5s/r9OguF
         Plm7nJ+Bqs8KhiCNtMcOtS6inFZh4S/3RvgV+S4RsEwtcv3uh32vQW4JRF2dggzv9vaD
         tJvA==
X-Gm-Message-State: ALoCoQmzlGBGw/PI2EdJUjtjIX1NNpUFcuTTq1vS575hKl8fSEDo5Ti0OAU1v86Fy9vqxT+G9wrx
X-Received: by 10.180.14.129 with SMTP id p1mr2945816wic.0.1403022604294;
        Tue, 17 Jun 2014 09:30:04 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.180.5.131 with SMTP id s3ls485921wis.11.canary; Tue, 17 Jun
 2014 09:30:02 -0700 (PDT)
X-Received: by 10.195.13.79 with SMTP id ew15mr39262430wjd.19.1403022602968;
        Tue, 17 Jun 2014 09:30:02 -0700 (PDT)
Original-Received: from mail-wg0-x233.google.com (mail-wg0-x233.google.com [2a00:1450:400c:c00::233])
        by mx.google.com with ESMTPS id jk20si13300257wic.0.2014.06.17.09.30.02
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Tue, 17 Jun 2014 09:30:02 -0700 (PDT)
Received-SPF: pass (google.com: domain of nliber@gmail.com designates 2a00:1450:400c:c00::233 as permitted sender) client-ip=2a00:1450:400c:c00::233;
Original-Received: by mail-wg0-f51.google.com with SMTP id x12so7172697wgg.34
        for <std-proposals@isocpp.org>; Tue, 17 Jun 2014 09:30:02 -0700 (PDT)
X-Received: by 10.194.1.164 with SMTP id 4mr38930938wjn.17.1403022602535; Tue,
 17 Jun 2014 09:30:02 -0700 (PDT)
Original-Sender: nliber@gmail.com
Original-Received: by 10.194.122.71 with HTTP; Tue, 17 Jun 2014 09:29:22 -0700 (PDT)
In-Reply-To: <5c9d83ad-b2ba-4b4f-8344-f2a1755ef98d@isocpp.org>
X-Original-Sender: nevin@eviloverlord.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of nliber@gmail.com designates 2a00:1450:400c:c00::233 as permitted
 sender) smtp.mail=nliber@gmail.com;       dkim=pass header.i=@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:11493
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/11493>

--047d7b3a8176d60ea304fc0aa7cb
Content-Type: text/plain; charset=UTF-8

On 17 June 2014 18:24, Matthew Fioravante <fmatthew5876@gmail.com> wrote:

>
> Standard library containers do not behave any differently, they always
> initialize their contents by default as they were designed to do in the
> beginning.
>

No, they don't.  They use the construct function in the allocator.  One use
of allocators is to eliminate the cost of zero initializing large vectors.
-- 
 Nevin ":-)" Liber  <mailto:nevin@eviloverlord.com>  (847) 691-1404

-- 

--- 
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/.

--047d7b3a8176d60ea304fc0aa7cb
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">On 17 June 2014 18:24, Matthew Fioravante <span dir=3D"ltr=
">&lt;<a href=3D"mailto:fmatthew5876@gmail.com" target=3D"_blank">fmatthew5=
876@gmail.com</a>&gt;</span> wrote:<br><div class=3D"gmail_extra"><div clas=
s=3D"gmail_quote">

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div dir=3D"ltr"><br>Standard library contai=
ners do not behave any differently, they always initialize their contents b=
y default as they were designed to do in the beginning.<br>

</div></blockquote><div><br></div><div>No, they don&#39;t. =C2=A0They use t=
he construct function in the allocator. =C2=A0One use of allocators is to e=
liminate the cost of zero initializing large vectors.</div></div>-- <br>=C2=
=A0Nevin &quot;:-)&quot; Liber=C2=A0 &lt;mailto:<a href=3D"mailto:nevin@evi=
loverlord.com" target=3D"_blank">nevin@eviloverlord.com</a>&gt;=C2=A0 (847)=
 691-1404
</div></div>

<p></p>

-- <br />
<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 <a href=3D"mailto:std-proposals+unsubscribe@isocpp.org">std-proposa=
ls+unsubscribe@isocpp.org</a>.<br />
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org">std-proposals@isocpp.org</a>.<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 />

--047d7b3a8176d60ea304fc0aa7cb--

.
