220 9808 <CAB+4KH+CL4GbmDj-FvtN-LafhJqe5KGMo7tRPHHY=a-Ya_PKtw@mail.gmail.com> article
Path: news.gmane.org!not-for-mail
From: Andrew Tomazos <andrewtomazos@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Re: pointer to member of class C of type
 reference to T
Date: Fri, 14 Mar 2014 17:31:46 +0100
Lines: 72
Approved: news@gmane.org
Message-ID: <CAB+4KH+CL4GbmDj-FvtN-LafhJqe5KGMo7tRPHHY=a-Ya_PKtw@mail.gmail.com>
References: <7b18f21a-cae0-4a26-89be-87f8aec094ad@isocpp.org>
	<251bafb5-8d28-44b1-8691-e69a4a767106@isocpp.org>
	<CAOfiQqk_Fum4kOw2A+2VOuYHkWbRd7WrwEUMpqXnKx1f-DSCLw@mail.gmail.com>
	<lftanu$efc$1@ger.gmane.org>
	<72305232-9753-48fb-8e27-59cc3672296a@isocpp.org>
	<lfv9a5$fl9$1@ger.gmane.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary=f46d043c07e01fd71d04f4939ba7
X-Trace: ger.gmane.org 1394814702 5192 80.91.229.3 (14 Mar 2014 16:31:42 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Fri, 14 Mar 2014 16:31:42 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBD5KHQXXWYPRB465RSMQKGQEDRLN5SY@isocpp.org Fri Mar 14 17:31:51 2014
Return-path: <std-proposals+bncBD5KHQXXWYPRB465RSMQKGQEDRLN5SY@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-bk0-f69.google.com ([209.85.214.69])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBD5KHQXXWYPRB465RSMQKGQEDRLN5SY@isocpp.org>)
	id 1WOV1Q-0004Jv-IZ
	for gclcip-std-proposals@m.gmane.org; Fri, 14 Mar 2014 17:31:48 +0100
Original-Received: by mail-bk0-f69.google.com with SMTP id mx12sf4114588bkb.8
        for <gclcip-std-proposals@m.gmane.org>; Fri, 14 Mar 2014 09:31:48 -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: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=Rq9zfbb4dHhhbc5qka3zZ9jkLjnxENWYUyJiFgdOZy0=;
        b=UrAzJbafU+dJFNcin1FhEcEHimR9LnD0/yu9r2BYYe7Z16tcTQ9Nsz+LPWmJxjzgGi
         N6o7Ili3d4WhMNdnFj9kQSfpHv076vqxB18WXQcXJlY0s8YlhwE8RQSuhaFeLkpMCBgn
         C8EFahlpSEZ6/IZRB3rqN9x+sz7bwyV2TX0v/TXJHBWbcA2P1PEDT2TIsDakGHi5Ag5+
         JrLNVjplNJjHao+cEInOutliaOdrVfCZJOisUuOW3F0l16SZAFfupqeCfVmxAxyLL/rK
         L7v9zCl4u6WON2fluofRX2xbCrWDQhNd9LxhV01/rEOkll6JC9DIVDqIuB5rJvarhX8U
         /m1g==
X-Gm-Message-State: ALoCoQlfPIyLC572hHmhvD84a3delkFbrMgXktwYjDBfVKzaCRXgUO9kMQJ/3VPNzmScg28FLohU
X-Received: by 10.180.80.70 with SMTP id p6mr3686356wix.4.1394814708237;
        Fri, 14 Mar 2014 09:31:48 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.180.94.106 with SMTP id db10ls352904wib.25.gmail; Fri, 14 Mar
 2014 09:31:46 -0700 (PDT)
X-Received: by 10.194.192.132 with SMTP id hg4mr7515314wjc.28.1394814706957;
        Fri, 14 Mar 2014 09:31:46 -0700 (PDT)
Original-Received: from mail-we0-x22b.google.com (mail-we0-x22b.google.com [2a00:1450:400c:c03::22b])
        by mx.google.com with ESMTPS id hi13si9134017wib.46.2014.03.14.09.31.46
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Fri, 14 Mar 2014 09:31:46 -0700 (PDT)
Received-SPF: pass (google.com: domain of andrewtomazos@gmail.com designates 2a00:1450:400c:c03::22b as permitted sender) client-ip=2a00:1450:400c:c03::22b;
Original-Received: by mail-we0-f171.google.com with SMTP id t61so2358649wes.16
        for <std-proposals@isocpp.org>; Fri, 14 Mar 2014 09:31:46 -0700 (PDT)
X-Received: by 10.180.73.173 with SMTP id m13mr6946552wiv.52.1394814706765;
 Fri, 14 Mar 2014 09:31:46 -0700 (PDT)
Original-Received: by 10.227.147.134 with HTTP; Fri, 14 Mar 2014 09:31:46 -0700 (PDT)
In-Reply-To: <lfv9a5$fl9$1@ger.gmane.org>
X-Original-Sender: andrewtomazos@gmail.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of andrewtomazos@gmail.com designates 2a00:1450:400c:c03::22b as
 permitted sender) smtp.mail=andrewtomazos@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-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:9808
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/9808>

--f46d043c07e01fd71d04f4939ba7
Content-Type: text/plain; charset=ISO-8859-1

On Fri, Mar 14, 2014 at 5:04 PM, Matthew Woehlke <
mw_triad@users.sourceforge.net> wrote:

> (It occurred to me that what I "really" want is e.g. 'public: using m_v =
> const m_mv'...)
>

What you really want is:

    class Data
    {
    public:
        const T value;

    protected:
        T value;
    };

:)

-- 

--- 
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/.

--f46d043c07e01fd71d04f4939ba7
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On F=
ri, Mar 14, 2014 at 5:04 PM, Matthew Woehlke <span dir=3D"ltr">&lt;<a href=
=3D"mailto:mw_triad@users.sourceforge.net" target=3D"_blank">mw_triad@users=
..sourceforge.net</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div class=3D"">(It occurred to me that what=
 I &quot;really&quot; want is e.g. &#39;public: using m_v =3D const m_mv&#3=
9;...)<br>
</div></blockquote><div>=A0</div></div>What you really want is:</div><div c=
lass=3D"gmail_extra"><br></div><div class=3D"gmail_extra">=A0 =A0 class Dat=
a</div><div class=3D"gmail_extra">=A0 =A0 {</div><div class=3D"gmail_extra"=
>=A0 =A0 public:</div>
<div class=3D"gmail_extra">=A0 =A0 =A0 =A0 const T value;</div><div class=
=3D"gmail_extra"><br></div><div class=3D"gmail_extra">=A0 =A0 protected:</d=
iv><div class=3D"gmail_extra">=A0 =A0 =A0 =A0 T value;</div><div class=3D"g=
mail_extra">=A0 =A0 };</div><div class=3D"gmail_extra">
<br></div><div class=3D"gmail_extra">:)</div><div class=3D"gmail_extra"><br=
></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 />

--f46d043c07e01fd71d04f4939ba7--

.
