220 19546 <CAFk2RUbM7Ui-LaFVLQG=+inLd6QCW8vjtDQRkVqPD3iOFSMMQg@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: Templated malloc, calloc and realloc - remove all
 the 'new's!
Date: Mon, 3 Aug 2015 01:21:26 +0300
Lines: 19
Approved: news@gmane.org
Message-ID: <CAFk2RUbM7Ui-LaFVLQG=+inLd6QCW8vjtDQRkVqPD3iOFSMMQg@mail.gmail.com>
References: <7fc7f182-f8ad-496e-947a-e8f253ac4676@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
X-Trace: ger.gmane.org 1438554092 14507 80.91.229.3 (2 Aug 2015 22:21:32 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Sun, 2 Aug 2015 22:21:32 +0000 (UTC)
To: "ISO C++ Standard - Future Proposals" <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBC5JHI7A7ALRBZ5P7KWQKGQEQFY6VXA@isocpp.org Mon Aug 03 00:21:32 2015
Return-path: <std-proposals+bncBC5JHI7A7ALRBZ5P7KWQKGQEQFY6VXA@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-pd0-f198.google.com ([209.85.192.198])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBC5JHI7A7ALRBZ5P7KWQKGQEQFY6VXA@isocpp.org>)
	id 1ZM1dJ-0007SW-FI
	for gclcip-std-proposals@m.gmane.org; Mon, 03 Aug 2015 00:21:29 +0200
Original-Received: by pdbfq13 with SMTP id fq13sf116986975pdb.3
        for <gclcip-std-proposals@m.gmane.org>; Sun, 02 Aug 2015 15:21:28 -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:in-reply-to:references:date
         :message-id:subject:from:to:content-type:x-original-sender
         :x-original-authentication-results:reply-to:precedence:mailing-list
         :list-id:x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=KMfxwt5YiTUcRbpC4a65LrNtHOUtGcS15XtcOH0ahpQ=;
        b=j/XzYszLNNfcY/arg70HR1zKAoAQGblMGTRB1n4AFveHE4nu4fCJCu4Jgz6nJFTPrG
         acUOBOWWhQQ7ixAXNKOg85RYAMHMbk0ueljMxW/hAm7gGBVIJCRScJDI7j4VphRHlOl6
         Ozj3l9+0AilalmBbEOS5Me0LcEa4ExSDf0TyVZx49xhVIlY7VN5Qv9D/aaen/ZyKqmkE
         Q963VQBegsFur2tZsVV7OOCScH8eoh4BeWKxtXHdysrQD+TrhJgdU2QO7a9Nz8L2SiET
         AWI5jMh3UDpjpMoQMzniZmjL1SAUEaY0Uj1IifzRxv+srAT8eEd/gqMxr7ao4akQHLn/
         NQwA==
X-Gm-Message-State: ALoCoQkejce/ALDT9aeOlB/2X7Z4dJz031ex3sJwNfYGvvHDGsTTCvhCDZNpTns4UR3OPHsy7I8d
X-Received: by 10.66.160.135 with SMTP id xk7mr14905992pab.9.1438554088024;
        Sun, 02 Aug 2015 15:21:28 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.107.168.75 with SMTP id r72ls1396257ioe.65.gmail; Sun, 02 Aug
 2015 15:21:27 -0700 (PDT)
X-Received: by 10.50.61.179 with SMTP id q19mr18703624igr.24.1438554087122;
        Sun, 02 Aug 2015 15:21:27 -0700 (PDT)
Original-Received: from mail-ig0-x235.google.com (mail-ig0-x235.google.com. [2607:f8b0:4001:c05::235])
        by mx.google.com with ESMTPS id j66si12434242ioi.48.2015.08.02.15.21.27
        for <std-proposals@isocpp.org>
        (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Sun, 02 Aug 2015 15:21:27 -0700 (PDT)
Received-SPF: pass (google.com: domain of ville.voutilainen@gmail.com designates 2607:f8b0:4001:c05::235 as permitted sender) client-ip=2607:f8b0:4001:c05::235;
Original-Received: by igr7 with SMTP id 7so44192892igr.0
        for <std-proposals@isocpp.org>; Sun, 02 Aug 2015 15:21:27 -0700 (PDT)
X-Received: by 10.50.97.97 with SMTP id dz1mr17761199igb.64.1438554087019;
 Sun, 02 Aug 2015 15:21:27 -0700 (PDT)
Original-Received: by 10.36.53.9 with HTTP; Sun, 2 Aug 2015 15:21:26 -0700 (PDT)
In-Reply-To: <7fc7f182-f8ad-496e-947a-e8f253ac4676@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:4001:c05::235 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-Spam-Checked-In-Group: 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: <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>,
 <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:19546
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/19546>

On 3 August 2015 at 01:15,  <robbepop@web.de> wrote:
> Since recent standards banned operator new's usage for modern C++ programs,

No C++ standard has done anything of the sort.

> The only places where one actually uses 'new' in modern C++ is, when writing
> an allocater and even there one could just use plain old C malloc.

Placement forms and class-specific overloads continue to be useful, and we're
very likely to continue improving new, like making it alignment-aware.

-- 

--- 
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/.

.
