220 15454 <7c1ddf8b-051b-4fa8-9c00-8fe239890edc@isocpp.org> article
Path: news.gmane.org!not-for-mail
From: R.HL@gmx.net
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Adding a remove_cv_reference type trait
Date: Sun, 4 Jan 2015 12:37:17 -0800 (PST)
Lines: 59
Approved: news@gmane.org
Message-ID: <7c1ddf8b-051b-4fa8-9c00-8fe239890edc@isocpp.org>
References: <5880acc5-8236-40a0-bd5d-dfa6d9284572@isocpp.org>
 <CAB+4KH+0Zy1hfW6baW2kEWT+Lw7H53yd7UQGZMf0MpfC19WpCw@mail.gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_266_756799364.1420403837407"
X-Trace: ger.gmane.org 1420403847 3665 80.91.229.3 (4 Jan 2015 20:37:27 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Sun, 4 Jan 2015 20:37:27 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBDRN5RPSR4MRB7OIU2SQKGQEV3YVSYQ@isocpp.org Sun Jan 04 21:37:20 2015
Return-path: <std-proposals+bncBDRN5RPSR4MRB7OIU2SQKGQEV3YVSYQ@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+bncBDRN5RPSR4MRB7OIU2SQKGQEV3YVSYQ@isocpp.org>)
	id 1Y7rvL-0003fO-GH
	for gclcip-std-proposals@m.gmane.org; Sun, 04 Jan 2015 21:37:19 +0100
Original-Received: by mail-pd0-f200.google.com with SMTP id r10sf162989781pdi.7
        for <gclcip-std-proposals@m.gmane.org>; Sun, 04 Jan 2015 12:37:18 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:date:from:to:message-id:in-reply-to:references
         :subject:mime-version:content-type:x-original-sender:reply-to
         :precedence:mailing-list:list-id:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=EoNedNvqybOXIuCGMtOiZwC80OJT9ImV5sqUHsLMilI=;
        b=NObnjIz4Ix14bwKsDu4kzgbkZmo7+9P4/ImfslL3dOituwUhFRXeXpR0YMBhM2WvaS
         9ZjNtTp2Jv4kBHFC2YOloUyP2oZHb6eoTg+0mJzll2Hh6D6241A1+2OYQ2jTCksF30nX
         EJxsfGmePn1Lv5ZopxJnucDLnxSxC5sn3DOzJvLLNKCny9lNpbp4uUDHQLuSRvSC0XaL
         1k8ayunSIl0XV21sXs4aTu1QA5mNKktim7lJ+fkwkiyiWBSKD+vUAnfdrwIQf4wx+v1g
         MO1EgRShQYvrKtLwqTetRQbIdCmbtL0e6PFz8QU0bwae2OKSUR7sjoVI/3r1YaxGpv7t
         FM8g==
X-Gm-Message-State: ALoCoQl1mPXgHhCdrJ63Daocm9qnxKVOyOUBn0awaFZjqt4OPLiJb07iXYklpc1Rqlqd1LvpBUby
X-Received: by 10.68.139.41 with SMTP id qv9mr67569726pbb.4.1420403838600;
        Sun, 04 Jan 2015 12:37:18 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.140.41.83 with SMTP id y77ls6727651qgy.78.gmail; Sun, 04 Jan
 2015 12:37:17 -0800 (PST)
X-Received: by 10.140.95.67 with SMTP id h61mr1945qge.9.1420403837781;
        Sun, 04 Jan 2015 12:37:17 -0800 (PST)
In-Reply-To: <CAB+4KH+0Zy1hfW6baW2kEWT+Lw7H53yd7UQGZMf0MpfC19WpCw@mail.gmail.com>
X-Original-Sender: R.HL@gmx.net
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: <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:15454
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/15454>

------=_Part_266_756799364.1420403837407
Content-Type: multipart/alternative; 
	boundary="----=_Part_267_2128753214.1420403837407"

------=_Part_267_2128753214.1420403837407
Content-Type: text/plain; charset=UTF-8

These type adjustments are not performed by remove_cv_reference as it 
simply isn't intended to. If I give const int[3] as the argument to this 
trait  I want int[3] as the output, period.

Am Sonntag, 4. Januar 2015 20:27:33 UTC schrieb Andrew Tomazos:
>
> std::decay does this, as well as array-to-pointer and function-to-pointer.
>

-- 

--- 
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/.

------=_Part_267_2128753214.1420403837407
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">These type adjustments are not performed by <font face=3D"=
courier new, monospace">remove_cv_reference</font> as it simply isn't inten=
ded to. If I give&nbsp;<font face=3D"courier new, monospace">const int[3] <=
/font><font face=3D"arial, sans-serif">as the argument to this trait &nbsp;=
</font>I want<font face=3D"courier new, monospace">&nbsp;int[3]</font>&nbsp=
;as the output, period.<br><br>Am Sonntag, 4. Januar 2015 20:27:33 UTC schr=
ieb Andrew Tomazos:<blockquote class=3D"gmail_quote" style=3D"margin: 0;mar=
gin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir=3D=
"ltr">std::decay does this, as well as array-to-pointer and function-to-poi=
nter.</div>
</blockquote></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 />

------=_Part_267_2128753214.1420403837407--
------=_Part_266_756799364.1420403837407--

.
