220 25091 <b67154e5-36e4-4a8d-b07c-05139d6582ab@isocpp.org> article
Path: news.gmane.org!not-for-mail
From: Cleiton Santoia <cleitonsantoia@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: "Components" template with implicitly defined
 partial specializations for all classes
Date: Wed, 9 Mar 2016 10:29:09 -0800 (PST)
Lines: 77
Approved: news@gmane.org
Message-ID: <b67154e5-36e4-4a8d-b07c-05139d6582ab@isocpp.org>
References: <fd64d8c9-703d-45d8-a9b2-4b8a222c02f0@isocpp.org>
 <56D9E17F.2070202@wanadoo.fr>
 <2b0bcca0-0939-49f7-939b-4d688f8dfe34@isocpp.org>
 <324dbff9-84da-46f2-b2f3-3d9fe0cc2082@isocpp.org>
 <cc5a1d38-d1f0-4e41-9ee1-29bad95bb15e@isocpp.org> <56DA88DF.90000@wanadoo.fr>
 <c303f05a-15d4-445f-81f8-e12f67842bcc@isocpp.org>
 <7e46c46d-2e18-4cec-92c1-4f4d7fbc786b@isocpp.org>
 <d6495758-627e-434d-a867-ed473d869f47@isocpp.org>
 <39bbeb02-62b8-497b-8d65-5780a6baca97@isocpp.org>
 <05ac78e7-3d30-4a99-ad0f-a3d29497e2ff@isocpp.org>
 <2c7cb187-ad83-4ceb-af8b-1e61d4fb4d0d@isocpp.org>
 <56DD28C8.7020708@wanadoo.fr>
 <840b1f9a-be05-4454-b20d-99e2ccb3c1f1@isocpp.org>
 <390f2de7-6ab3-47cc-b76c-a7454dec5fc5@isocpp.org>
 <741522c6-22f7-441d-81ab-e1ca44e085dc@isocpp.org>
 <b9f32b39-94e0-412f-9a87-6fe118b10b02@isocpp.org>
 <74980e61-cfdf-43b1-8bb4-e56263d083bb@isocpp.org>
 <4612cf90-7ca4-4d4e-9137-b535200a0950@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_6238_708074157.1457548149506"
X-Trace: ger.gmane.org 1457548165 16641 80.91.229.3 (9 Mar 2016 18:29:25 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Wed, 9 Mar 2016 18:29:25 +0000 (UTC)
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBCBMVWMTUUNBB5WWQG3QKGQERQGMZKA@isocpp.org Wed Mar 09 19:29:20 2016
Return-path: <std-proposals+bncBCBMVWMTUUNBB5WWQG3QKGQERQGMZKA@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-ig0-f197.google.com ([209.85.213.197])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCBMVWMTUUNBB5WWQG3QKGQERQGMZKA@isocpp.org>)
	id 1adirA-0001gP-IL
	for gclcip-std-proposals@m.gmane.org; Wed, 09 Mar 2016 19:29:12 +0100
Original-Received: by mail-ig0-f197.google.com with SMTP id vs8sf75446348igb.1
        for <gclcip-std-proposals@m.gmane.org>; Wed, 09 Mar 2016 10:29:12 -0800 (PST)
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
         :x-spam-checked-in-group:list-post:list-help:list-archive:sender
         :list-subscribe:list-unsubscribe;
        bh=EK2ANSLyD0F/oisi0aodN3H1HYAYOv6FmbApHe0T70k=;
        b=n0Ic0hxA9L6rh5JmxkQKqUUZVt3Ne1Yu1jaXN8O1Ypz5Ta16wTEe37FBxQ/C9SJMA8
         pm7Gk9SCMFcqhkNcnKJMB2mIfFfoH3F6gQ1C3zRPlD3ldqf4x3qCkTWAv2SY+UcKn0uq
         aZYirLYY+OcPrmf4Dzld8jK+yRzi3MWEZdwk8xwP1S+dhEMAuTB8Tl9cas0sRfN6Kbih
         RxRER/2LMOTAom9W3Jgx3jme4xbYa1GyxKudEuI0FXvveEzc1n7wXD/akPPhqbG9U2gQ
         SsRpkxThRhFxbwD9YgO3h7vQYD+Vz13IDWNwFuDD+0V7H/Oh8VzkSqRILsHbhCuiDhti
         km5w==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=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:sender
         :list-subscribe:list-unsubscribe;
        bh=EK2ANSLyD0F/oisi0aodN3H1HYAYOv6FmbApHe0T70k=;
        b=W32t82JgJAmMP8bTmpkp5h/UZ/srzVg7husd6gYQoj8ScB7hazGCFrkVpFcPge2HaD
         SZF1U+7y0bMeptBhg8FZZpUEO7QPAtoFBJjLVCv9D/cl2fWsLQEGIh8wxM9yJbf6wzZ0
         amBbkhX39tPLtX/jzAq4/PnQ5GC4nFxcVfDJHild5ftC0HhgteTI8gkM7EDLfBRtr4x+
         3ZzTW6PZVP9upA7MBgxD63zlFaKFl6+tx7QNpSnwll/WGbQEy0diJmzBbn0dBCKusl2w
         lAhpSsrJUlYMXbq2k6QY+gALwbBv91jwSU/3yOlbmcGBercrEIq1HZvoUaYhsf7bJoFt
         KJEQ==
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:x-original-sender:reply-to:precedence
         :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help
         :list-archive:sender:list-subscribe:list-unsubscribe;
        bh=EK2ANSLyD0F/oisi0aodN3H1HYAYOv6FmbApHe0T70k=;
        b=JW2Ec5Rmp8wpeMhjViHGikzWau6KFMlrk/w80fjfRM4iDbCSUdhfq1ezZsxRIvQjIv
         1OhPoiVCIwHkFZ1qGDTr+1o3gYcV/LwJPnJ36DxuqXI4U8lKZv9lbEJJF461oZM7uyTf
         UOfrKzYXSauu5rL5VUU12qgYQdyDXim7pUpdb1upwftHm/6c7iCNQYHZYynV3ZaEmqjz
         AGU9bjKBVnu/1ej5Hn1KazWt4Tm3BNpbvz0N/b88E7H4CuphE+JCBCVD+4Jj5jMAQs0R
         zjx3y8gBksM2vf6eCQfFzMfoVCKh9x5yE1A8exCqIOpBAVh91W5ET6lfFsaUuEhTon3H
         Wxvg==
X-Gm-Message-State: AD7BkJK8hR6bGd49j22TU2dRSbu0pT+TPwAlQANDlm6uoVp0ZjYS1gQDhuXoo+3Fhs0Ocw==
X-Received: by 10.50.117.33 with SMTP id kb1mr19166937igb.2.1457548151697;
        Wed, 09 Mar 2016 10:29:11 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.50.112.98 with SMTP id ip2ls1767880igb.27.canary; Wed, 09 Mar
 2016 10:29:10 -0800 (PST)
X-Received: by 10.50.109.230 with SMTP id hv6mr543441igb.2.1457548150470;
        Wed, 09 Mar 2016 10:29:10 -0800 (PST)
In-Reply-To: <4612cf90-7ca4-4d4e-9137-b535200a0950@isocpp.org>
X-Original-Sender: cleitonsantoia@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: <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/>
Original-Sender: std-proposals@isocpp.org
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:25091
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/25091>

------=_Part_6238_708074157.1457548149506
Content-Type: multipart/alternative; 
	boundary="----=_Part_6239_587998430.1457548149515"

------=_Part_6239_587998430.1457548149515
Content-Type: text/plain; charset=UTF-8


>
> No I was thinking member pointers could be extended to support base 
> classes:
>
> Base Derived::*p = &Derived::Base;
>

Since types does not have any storage to be pointed at... I suppose you 
mean to build some structure and (at compile time probably) return the 
pointer to that structure thru &[typename], so & is your reflective 
operator.
So your ideia is basically the p0194r0 
<http://open-std.org/JTC1/SC22/WG21/docs/papers/2016/p0194r0.pdf>, but with 
instead of using 'reflexpr' as operator, you are using '&' as operator...

My question: how to get the name of a "free" function (&printf) ? class 
members of a namespace (&std::experimental) ? or a classes from a module ?

BR
CSS


 

-- 
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/b67154e5-36e4-4a8d-b07c-05139d6582ab%40isocpp.org.

------=_Part_6239_587998430.1457548149515
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><blockquote class=3D"gmail_quote" style=3D"margin: 0;margi=
n-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir=3D"l=
tr"><div>No I was thinking member pointers could be extended to support bas=
e classes:</div><div><br></div><div>Base Derived::*p =3D &amp;Derived::Base=
;</div></div></blockquote><div><br></div><div><div>Since types does not hav=
e any storage to be pointed at... I suppose you mean to build some structur=
e and (at compile time probably) return the pointer to that structure thru =
&amp;[typename], so &amp; is your reflective operator.</div></div><div>So y=
our ideia is basically the=C2=A0<a href=3D"http://open-std.org/JTC1/SC22/WG=
21/docs/papers/2016/p0194r0.pdf">p0194r0</a>, but with instead of using &#3=
9;reflexpr&#39; as operator, you are using &#39;&amp;&#39; as operator...<b=
r></div><div><br></div><div>My question: how to get the name of a &quot;fre=
e&quot; function (&amp;printf) ? class members of a namespace (&amp;std::ex=
perimental) ? or a classes from a module ?</div><div><br></div><div>BR</div=
><div>CSS</div><div><br></div><div><br></div><div>=C2=A0<br></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/b67154e5-36e4-4a8d-b07c-05139d6582ab%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/b67154e5-36e4-4a8d-b07c-05139d6582ab=
%40isocpp.org</a>.<br />

------=_Part_6239_587998430.1457548149515--
------=_Part_6238_708074157.1457548149506--

.
