220 34944 <18b21c5c-ab0f-51ed-1b00-d0cda5c7c046@gmail.com> article
Path: news.gmane.org!.POSTED!not-for-mail
From: =?UTF-8?Q?Jonathan_M=c3=bcller?= <jonathanmueller.dev@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Idea about "std::pmr::memory_resource"
Date: Sun, 15 Oct 2017 17:48:52 +0200
Lines: 19
Approved: news@gmane.org
Message-ID: <18b21c5c-ab0f-51ed-1b00-d0cda5c7c046@gmail.com>
References: <0a8293b4-3246-47a5-9881-bc1ca4b91772@isocpp.org>
 <CAEddoJZzSZ5RROJ6Uu=2+R90mXi+hnHPDCxobrHM2daM6AxPVw@mail.gmail.com>
 <60cbae8d-2a6d-4d1b-9fdf-5c4c913ee0a0@isocpp.org>
 <97632d14-327a-4af6-8e55-35e753f9557c@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"; format=flowed
X-Trace: blaine.gmane.org 1508082536 17384 195.159.176.226 (15 Oct 2017 15:48:56 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Sun, 15 Oct 2017 15:48:56 +0000 (UTC)
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
 Thunderbird/52.4.0
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCUMHC4Z6QGBBZUGR3HQKGQE5FPUJ5Q@isocpp.org Sun Oct 15 17:48:52 2017
Return-path: <std-proposals+bncBCUMHC4Z6QGBBZUGR3HQKGQE5FPUJ5Q@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-wm0-f72.google.com ([74.125.82.72])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBCUMHC4Z6QGBBZUGR3HQKGQE5FPUJ5Q@isocpp.org>)
	id 1e3l9k-0003XK-47
	for gclcip-std-proposals@m.gmane.org; Sun, 15 Oct 2017 17:48:48 +0200
Original-Received: by mail-wm0-f72.google.com with SMTP id q18sf7279425wmg.18
        for <gclcip-std-proposals@m.gmane.org>; Sun, 15 Oct 2017 08:48:55 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1508082535; cv=pass;
        d=google.com; s=arc-20160816;
        b=vSSuBkWsevoT5r28Ikt9O93yU+g/FzeX6XgydHWgGrz68nfYLEXliF7douKxHWE3sV
         KYmaMz/az5lNP52qFJqJ5LcERGkUyNZXuQP9kpazpCW1jT9opFMhTTxG/c72hbiovc6F
         yhqhBPCcWjFlnxulSqMN1gkkofhweGW6tX/7BUHtEZbkzI+xCngvaBIeYfF8VyTOT8Nz
         Ka13q11P9nkkMaBJVSuXlJLeMGhZCCq0kM/+qHWAjF2yH31VJeYHzANkvMlKpurMZN+N
         avecdYVD8uTwf7ugHa9cov+rFVw7eJdfpHRWQYP/dQbG1SPI7aRQAHecq1dwn5sf7VuQ
         FEig==
ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
         :list-id:mailing-list:precedence:reply-to:content-language
         :in-reply-to:mime-version:user-agent:date:message-id:from:references
         :to:subject:arc-authentication-results:arc-message-signature
         :dkim-signature:arc-authentication-results;
        bh=luFWzfdJTUcM51SELzHmcFEKjo3Ibn9jXlHh3v1V+y8=;
        b=R0oEG7kVFov/WtS3CKbgFhqPUQJxOm7wUQRnIDxDjBJtA2F5gcBFWc82zP7mFl7GPp
         VM7O3nyQPrqzzZMHCkKFv6zkWKJiT9fQHd8qdT8QLmeIsyM3nyikjMFGC/lEf607c9oS
         LtI7v6NrQl3QceragT+UYt7+cEFCeJZklNsL7B4OUFVvNuJqvKIAha9pUUsONqT9SS6q
         0SPaMeoJdbZIma0YmKmWG0xIGP+sQ0j0oqR2lvCT6xLdbtaLz/6IMaoVwe1ZoWaKjJ+e
         33Lv1ctWDyZUttLSTJBbYD9h8EqYOqkS9MtgStUo5Mf4XhB5v7Hdo2CfKqJm+Fv/fUCj
         EUVw==
ARC-Authentication-Results: i=2; mx.google.com;
       dkim=pass header.i=@gmail.com header.s=20161025 header.b=X5oXBcno;
       spf=pass (google.com: domain of jonathanmueller.dev@gmail.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jonathanmueller.dev@gmail.com;
       dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=subject:to:references:from:message-id:date:user-agent:mime-version
         :in-reply-to:content-language:x-original-sender
         :x-original-authentication-results:reply-to:precedence:mailing-list
         :list-id:list-post:list-help:list-archive:list-subscribe
         :list-unsubscribe;
        bh=luFWzfdJTUcM51SELzHmcFEKjo3Ibn9jXlHh3v1V+y8=;
        b=CqUW+Na3b64k425+HruelCiZ4Cn43yQ7Rkz5erx692COiwLoztdcZhc9MbhG0Nb2Vi
         uRFxxyXJ3H94NxFWsbMS1w2eiXuL7/0QGyr3Htwv63dHFgNgRKTk50wszeiXeI+x4+io
         +BwuFHNfBsE7NoBnhSx1coDjXyMm4PKN2cMDTUxEc+7xRFSx4ZVuL7xcjsBERbAFyh3f
         gkfVe4tNhBGPU+yb8y5wJCWpKwKccbio9Wylh23hI5Ro2RQtrQa8qHA/0oecKyP//MJr
         GvP0a6kmxBEdPJF6qaw+j6RrP2QyTOEdUC1zcqWyGIfLiOZ9+VQHDg7jtILV2tWadl5K
         WTmA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:subject:to:references:from:message-id:date
         :user-agent:mime-version:in-reply-to:content-language
         :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=luFWzfdJTUcM51SELzHmcFEKjo3Ibn9jXlHh3v1V+y8=;
        b=XUauRBzWxe75fp+ZnVjQrd9INMZB6G8nE+WKgLdoDUBCIqf3Km0o4nJ/mSbFj7WGUJ
         qCxWaCAEgm6zoBReTvtvegf5NOTxCZIyNXQREB0rDB67Nxg5RJTkCqq0kp+5IlLRsDEu
         cldpY26J3iNyquT/SKQB9ysoVGvpuzjjbzhsF5wU7e3f691Rnn6kHRsi5V6yQ5KvCZVk
         3rfplVJV6wtJAVIrq/U7VzhuaY/bybmCfiG4gul7474QFY7UmtUS74LPnWWVfaDBoSGi
         eXGG/6GJcGIa7sOYvjHAbkzYoL9dOGW3nhHijGruW0SDHUozHGsRFci4Vz4HIy6BriBn
         s 
X-Gm-Message-State: AMCzsaXr3pPfDum3hUrniNRD9V/Wddg+VWOFZzs3Vxly7mBBejQHIf0k
	A97kR2ydUm1pTi8RKoXj3U2Pzw==
X-Google-Smtp-Source: AOwi7QB2k7bMkSr3hoPHQHgdhYWzhp6DAcKvI0OzGeAtWdyRfgRlY6xDHJBBoQjm2eGreGH7Bbc0SA==
X-Received: by 10.80.242.140 with SMTP id f12mr1823534edm.1.1508082535664;
        Sun, 15 Oct 2017 08:48:55 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.80.167.100 with SMTP id h91ls1717605edc.8.gmail; Sun, 15 Oct
 2017 08:48:54 -0700 (PDT)
X-Received: by 10.80.164.209 with SMTP id x17mr9971530edb.68.1508082534256;
        Sun, 15 Oct 2017 08:48:54 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1508082534; cv=none;
        d=google.com; s=arc-20160816;
        b=fo4rGmVxyFtTbt0G75IUvUUuwxHrHBQPBQ3QwlLHLEUaTYVir9T7rjBNUlaWJrMiQW
         gPjZG9JA41EcKZ5xHn4rq4l8mF2zD1xkoLjbPw4vbHrnd0zZQ8eptH8DBushdt7qLdiO
         sqZ+1Q7zOP9/vlhRUMdi6Wm56Ggsf9hynJaPuFER7sukmaSF2z+QJ90IFVkgMlwaaVcj
         qohzb2ZXgaTddwBYJEFPvwTW5QHTrVA8fmEgNFeFAzgUD4PA7GbbOUrPl42y+9srA4Xa
         Dbo2H0t5Sj9dv+aTI0qbFYoHRSYfTfEOUSZvKm8fl4IfEw76+zkPoKSygrglcWOj3Ddr
         /wqQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=content-transfer-encoding:content-language:in-reply-to:mime-version
         :user-agent:date:message-id:from:references:to:subject
         :dkim-signature:arc-authentication-results;
        bh=pdcSbYGvQ7s3X0ST2pOHoDA+kEzmH3phQbrzxEMvFK8=;
        b=L9Gkiw5hUBjIMYMwMUpz7chOAb3ev8N0rf+rQ+Z0nxUc5yfpI7Rq3yebthkeeKg6uc
         INZD/O1cmzI6AaAC/eVO9uYD5g/KVxwiL5id5An+l2yGpLJcjS47dMBfNfzi1zXcXJtU
         aq8/7i58AQxv198mBpPCkCydbS+GQUkU/4ER0bAP+2GbWuSeTus2MMkG5yNlNvrkJz/w
         riPyeXiOQY/eXgixs9hwUAD/gyzvy0YBZZyKhtNmxmjJevXpr93UuWWSQsvroVW8Avef
         as68ctDfjmRwN4Hk5Y6vaG4B3J/3YKscfVH2XqhdDiXYD6hI+XdpKsKvs0aV0f3THAPO
         WX1A==
ARC-Authentication-Results: i=1; mx.google.com;
       dkim=pass header.i=@gmail.com header.s=20161025 header.b=X5oXBcno;
       spf=pass (google.com: domain of jonathanmueller.dev@gmail.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jonathanmueller.dev@gmail.com;
       dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com
Original-Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41])
        by mx.google.com with SMTPS id h36sor2364318eda.12.2017.10.15.08.48.54
        for <std-proposals@isocpp.org>
        (Google Transport Security);
        Sun, 15 Oct 2017 08:48:54 -0700 (PDT)
Received-SPF: pass (google.com: domain of jonathanmueller.dev@gmail.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41;
X-Received: by 10.80.226.74 with SMTP id o10mr9932957edl.290.1508082533779;
        Sun, 15 Oct 2017 08:48:53 -0700 (PDT)
Original-Received: from [192.168.1.98] (dslb-084-060-195-012.084.060.pools.vodafone-ip.de. [84.60.195.12])
        by smtp.gmail.com with ESMTPSA id y13sm5502985edm.96.2017.10.15.08.48.52
        for <std-proposals@isocpp.org>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Sun, 15 Oct 2017 08:48:53 -0700 (PDT)
In-Reply-To: <97632d14-327a-4af6-8e55-35e753f9557c@isocpp.org>
Content-Language: en-US
X-Original-Sender: jonathanmueller.dev@gmail.com
X-Original-Authentication-Results: mx.google.com;       dkim=pass
 header.i=@gmail.com header.s=20161025 header.b=X5oXBcno;       spf=pass
 (google.com: domain of jonathanmueller.dev@gmail.com designates 209.85.220.41
 as permitted sender) smtp.mailfrom=jonathanmueller.dev@gmail.com;
       dmarc=pass (p=NONE sp=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: <https://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <https://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <https://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <https://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>,
 <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:34944
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/34944>

On 15.10.2017 17:14, Nicol Bolas wrote:
> 
>     Although the "virtual overhead" is acceptible in many cases, it is
>     an evidence that "PMRs" still has room to improve.
> 
> 
> Replacing "virtual overhead" with "type-erased access overhead" is not 
> an improvement.
> 

It would be an improvement if you could decide between a type erased 
allocator and a template allocator.

-- 
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.
To view this discussion on the web visit https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/18b21c5c-ab0f-51ed-1b00-d0cda5c7c046%40gmail.com.

.
