220 34928 <62cd9e1e-03b8-4125-a032-72624a9f5254@isocpp.org> article
Path: news.gmane.org!.POSTED!not-for-mail
From: "T. C." <rs2740@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Idea about "std::pmr::memory_resource"
Date: Sat, 14 Oct 2017 12:54:40 -0700 (PDT)
Lines: 50
Approved: news@gmane.org
Message-ID: <62cd9e1e-03b8-4125-a032-72624a9f5254@isocpp.org>
References: <0a8293b4-3246-47a5-9881-bc1ca4b91772@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_14740_1364155092.1508010880894"
X-Trace: blaine.gmane.org 1508010893 31648 195.159.176.226 (14 Oct 2017 19:54:53 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Sat, 14 Oct 2017 19:54:53 +0000 (UTC)
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBCQ43G7NQIIRBAOXRHHQKGQENUJKYCQ@isocpp.org Sat Oct 14 21:54:48 2017
Return-path: <std-proposals+bncBCQ43G7NQIIRBAOXRHHQKGQENUJKYCQ@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-vk0-f71.google.com ([209.85.213.71])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBCQ43G7NQIIRBAOXRHHQKGQENUJKYCQ@isocpp.org>)
	id 1e3SW3-0005zd-Hr
	for gclcip-std-proposals@m.gmane.org; Sat, 14 Oct 2017 21:54:35 +0200
Original-Received: by mail-vk0-f71.google.com with SMTP id n70sf4561671vkf.8
        for <gclcip-std-proposals@m.gmane.org>; Sat, 14 Oct 2017 12:54:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=date:from:to:message-id:in-reply-to:references:subject:mime-version
         :x-original-sender:reply-to:precedence:mailing-list:list-id
         :list-post:list-help:list-archive:list-subscribe:list-unsubscribe;
        bh=e+OIEzjb/lgLd0MikMa6azz++WRr2GTLy015B9fjOZw=;
        b=V+ZwBtgcg4QwByM6yQBTc3epRVA5dRY9GhFDv+R75QjXCzU0UXodtj8Fiufznb+qQl
         M5hM3gklAiypv36DZWg8QWEQC46TwT/Sz9GoVIKLjpSXQNz5qGxjIuQtiUEg/vaNWRXJ
         p3kDcE8TV+n9anHOPyQFdDo2osec4Vc80bLdgOdZZu1rYSrkiK1BV+5jbYBzAoQzoOsD
         AgebsxOTkNAA7Vt2lfdfxv5eAqp0R0SUnJ76NdxflHFpqpuprBSyBZm5ktSSiXEjz307
         GSTkY7BbySBOMO11M1WyH86a+z7k8JSdmgxPvP1TBmy8jcg/M/M7Hb3hFRwOWvTkpZaD
         xoyQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=date:from:to:message-id:in-reply-to:references:subject:mime-version
         :x-original-sender:reply-to:precedence:mailing-list:list-id
         :list-post:list-help:list-archive:list-subscribe:list-unsubscribe;
        bh=e+OIEzjb/lgLd0MikMa6azz++WRr2GTLy015B9fjOZw=;
        b=P4TM7+zgsRuIMQzDpxjIQn9mJIDI6ZFvhIDF55AzK4z6skppgq9yQrFFC/qM8Jk2Ig
         6d/OEqpDp/jtxojL8+CAPHfrGBF1HUEbCVdbvbAGvx2Xwy+/Gtm7QefX4GSqaPiQNlTX
         vkgmvVcFqk0RZLBVmaNjVvZ7c551pSlGYNsj4dwLaO4jx98EoXHGNh8k6m/RFN65nSPG
         fxzB8RjXp7QI2PXBPDRe5nv6ezJwJV9EjW3LnZZV++J1I8CnAE3W7PPOdf7+iKPQdhmy
         65643pl6/zShKQnNTNaQYRkwJprwpUIH9WnHgcb3ke5cQ7h3I+yhWai4jhpIMvBg9jAM
         gnDw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:date:from:to:message-id:in-reply-to:references
         :subject:mime-version:x-original-sender:reply-to:precedence
         :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help
         :list-archive:list-subscribe:list-unsubscribe;
        bh=e+OIEzjb/lgLd0MikMa6azz++WRr2GTLy015B9fjOZw=;
        b=k6+Zu1fmhbBRz0+EaKYVp0lKE9soEnxWP9HBJPwkPQza5uuQc6PehJW0S1Lsyt1hOw
         VG6wCTXw9VUFD28K5nCLfhpDQxe8ZwM6+9MgKLI1GNtoTaypYLmi3mXf83v0zx6icM9N
         A5BoISiu5Bb3RZya8hil2Sr56TOS0Kw44fhnoxshqCtoEDs74M0H0S1wk8SckdluRY7a
         anwWymF8SBPAnUXNeC67JlqlepRWzv/IGuXNoxmZKQdtyjZqNRmEy3AzkD6okoMGwR5K
         tlS2hhc0OhmGEMHTJiqL+vo0fzSKU8ckb0QXmawktnpP+5XeZNmci0+uMY+cyAC3txLh
         OZqQ==
X-Gm-Message-State: AMCzsaUNzKLlInucu9STJEf4E7xTSLrrWQM7R5wDFpcKAFD/04jwXvpb
	D9SjYvpZ6KpjIbu4HLdAb04vbQ==
X-Google-Smtp-Source: AOwi7QAO1afhHmmbZqqqX0ljnERwBVRhXqbWxzg+2bljWxWuML9mKZQTBPnL1/gC+3Qcw6KogE3UMQ==
X-Received: by 10.31.133.83 with SMTP id h80mr2704068vkd.77.1508010882741;
        Sat, 14 Oct 2017 12:54:42 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.31.95.212 with SMTP id t203ls2465746vkb.0.gmail; Sat, 14 Oct
 2017 12:54:41 -0700 (PDT)
X-Received: by 10.31.7.137 with SMTP id 131mr338932vkh.5.1508010881364;
        Sat, 14 Oct 2017 12:54:41 -0700 (PDT)
In-Reply-To: <0a8293b4-3246-47a5-9881-bc1ca4b91772@isocpp.org>
X-Original-Sender: rs2740@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:34928
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/34928>

------=_Part_14740_1364155092.1508010880894
Content-Type: multipart/alternative; 
	boundary="----=_Part_14741_641217396.1508010880894"

------=_Part_14741_641217396.1508010880894
Content-Type: text/plain; charset="UTF-8"

For simple memory resources, including the three in the standard, is_equal 
implementations can simply do an address comparison. There's no need for 
dynamic_cast or RTTI.

That the standard currently depicts dynamic_casts for them is a defect. 
See https://cplusplus.github.io/LWG/issue3000

-- 
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/62cd9e1e-03b8-4125-a032-72624a9f5254%40isocpp.org.

------=_Part_14741_641217396.1508010880894
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">For simple memory resources, including the three in the st=
andard, is_equal implementations can simply do an address comparison. There=
&#39;s no need for dynamic_cast or RTTI.<div><br></div><div>That the standa=
rd currently depicts dynamic_casts for them is a defect. See=C2=A0https://c=
plusplus.github.io/LWG/issue3000</div></div>

<p></p>

-- <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 />
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/a/isocpp.org/d/msgid/std-proposals/62cd9e1e-03b8-4125-a032-72624a9f5254%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/62cd9e1e-03b8-4125-a032-72624a9f5254=
%40isocpp.org</a>.<br />

------=_Part_14741_641217396.1508010880894--

------=_Part_14740_1364155092.1508010880894--

.
