220 25062 <b9f32b39-94e0-412f-9a87-6fe118b10b02@isocpp.org> article
Path: news.gmane.org!not-for-mail
From: "'Walt Karas' via ISO C++ Standard - Future Proposals" <std-proposals@isocpp.org>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: "Components" template with implicitly defined
 partial specializations for all classes
Date: Tue, 8 Mar 2016 09:40:22 -0800 (PST)
Lines: 88
Approved: news@gmane.org
Message-ID: <b9f32b39-94e0-412f-9a87-6fe118b10b02@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>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_4968_55014460.1457458822262"
X-Trace: ger.gmane.org 1457458837 27152 80.91.229.3 (8 Mar 2016 17:40:37 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Tue, 8 Mar 2016 17:40:37 +0000 (UTC)
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBDFLZXWOVYIBBB457S3AKGQEA26BABQ@isocpp.org Tue Mar 08 18:40:26 2016
Return-path: <std-proposals+bncBDFLZXWOVYIBBB457S3AKGQEA26BABQ@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-qk0-f198.google.com ([209.85.220.198])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBDFLZXWOVYIBBB457S3AKGQEA26BABQ@isocpp.org>)
	id 1adLcO-0000uK-WE
	for gclcip-std-proposals@m.gmane.org; Tue, 08 Mar 2016 18:40:25 +0100
Original-Received: by mail-qk0-f198.google.com with SMTP id u128sf30648706qkh.0
        for <gclcip-std-proposals@m.gmane.org>; Tue, 08 Mar 2016 09:40:24 -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=0mHbywNpKw4SR9ODsBTfMXvbzgqLkpVk1CpT/WEVstI=;
        b=QPuxAX3VikNdcoPIrloniaBqSrVdOfHckS04k0jE2xSsoShGDpS/WWY9z1jcrG9X6L
         97/OINDlSGqgL7VIwSVT//oTqswpc30/bG3f+pNk0Y7XfYU3hWBBlqBDuo94XICT3/xt
         64Qhina6iwTJlO1ehpomEsAJUkwvrwQa3ij/ZdYxWzGVhnLD9NmrewLGAMDnyAkqmWmu
         wWTYEyiDh+juwcmGQXD+5XzeEBnb3XLY4+QayEaCxfAWnJik8aMPx1r3EUulBqgyKkzO
         sY7zfF/GfGxux9BuWvVwZ0KUK1mvV7FGp5juG5J4DzyH+pq+XtqBAtNnk91BTUWf+QfI
         JqPA==
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=0mHbywNpKw4SR9ODsBTfMXvbzgqLkpVk1CpT/WEVstI=;
        b=YryUJYUfMR+XGO+uOLt20f2GKeAPgNSiupkpS4YclmdToqy+vgFeyorKRmdUu+ewVf
         XCJNFseOM3in1gPBltWm21CeOwcRE0I3maWbVdt5d+E64ZlnC7aCMuSOfOQAVMXTWu6f
         Gyx9ExlZcT/9hri7XL70j3+muvg9fk1egsK3+y1RU8/6RD6UgN9hETwIaCIIJ4Buopr5
         OU8TWselCE41enGhXpjX23v8Mx+EKrZTa+r7E8wwJFduJPWFJ2javE8tq8/QPuNyWWoR
         FZyBN6IL6BWuPjHiwt5I/yFZS8mYb0fXYNV8PgCQORrcoTZvFUr3j25zd6T2Q2+HKiQP
         MOaQ==
X-Gm-Message-State: AD7BkJK1n9MqyX3HjlpBxEEIZGPHkX7y8HPe8hbCb82t7YJ9G2049xY4pA3ZUixzwLd/sw==
X-Received: by 10.129.108.3 with SMTP id h3mr456500ywc.31.1457458824240;
        Tue, 08 Mar 2016 09:40:24 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.107.27.211 with SMTP id b202ls291434iob.102.gmail; Tue, 08 Mar
 2016 09:40:23 -0800 (PST)
X-Received: by 10.50.142.39 with SMTP id rt7mr359682igb.8.1457458823234;
        Tue, 08 Mar 2016 09:40:23 -0800 (PST)
In-Reply-To: <741522c6-22f7-441d-81ab-e1ca44e085dc@isocpp.org>
X-Original-Sender: wkaras@yahoo.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>
X-Original-From: Walt Karas <wkaras@yahoo.com>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:25062
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/25062>

------=_Part_4968_55014460.1457458822262
Content-Type: multipart/alternative; 
	boundary="----=_Part_4969_1608318564.1457458822263"

------=_Part_4969_1608318564.1457458822263
Content-Type: text/plain; charset=UTF-8



On Tuesday, March 8, 2016 at 11:31:07 AM UTC-5, Cleiton Santoia wrote
>
>  
>
>> Since you mention an is_base predicate, I assume that means you have some 
>> sort of member pointer to a base class, but I see no explicit discussion of 
>> that. 
>>
>
> Sorry, I did not get this, why you need a member pointer to a base class ? 
>
> struct X{
> };
>
> struct Y : X {
>    X* base;
> };
>
> you mean this ???
>

I meant that, if reflection were to be used to provide general default 
comparison operators, it would have to be able to "reflect upon" base 
classes as well as (other) data members. 

-- 
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/b9f32b39-94e0-412f-9a87-6fe118b10b02%40isocpp.org.

------=_Part_4969_1608318564.1457458822263
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><br>On Tuesday, March 8, 2016 at 11:31:07 AM UTC-5, Cl=
eiton Santoia wrote<blockquote class=3D"gmail_quote" style=3D"margin: 0;mar=
gin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div>=C2=A0=
</div><blockquote class=3D"gmail_quote" style=3D"margin:0;margin-left:0.8ex=
;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><div>Since y=
ou mention an is_base predicate, I assume that means you have some sort of =
member pointer to a base class, but I see no explicit discussion of that. <=
br></div></div></blockquote><div><br></div><div>Sorry, I did not get this, =
why you need a member pointer to a base class ?=C2=A0</div><div><br></div><=
div><div style=3D"border:1px solid rgb(187,187,187);word-wrap:break-word;ba=
ckground-color:rgb(250,250,250)"><code><div><span style=3D"color:#008">stru=
ct</span><span style=3D"color:#000"> X</span><span style=3D"color:#660">{</=
span><span style=3D"color:#000"><br></span><span style=3D"color:#660">};</s=
pan><span style=3D"color:#000"><br><br></span><span style=3D"color:#008">st=
ruct</span><span style=3D"color:#000"> Y </span><span style=3D"color:#660">=
:</span><span style=3D"color:#000"> X </span><span style=3D"color:#660">{</=
span><span style=3D"color:#000"><br>=C2=A0 =C2=A0X</span><span style=3D"col=
or:#660">*</span><span style=3D"color:#000"> </span><span style=3D"color:#0=
08">base</span><span style=3D"color:#660">;</span><span style=3D"color:#000=
"><br></span><span style=3D"color:#660">};</span><span style=3D"color:#000"=
><br></span></div></code></div><div><br></div>you mean this ???</div></bloc=
kquote><div><br>I meant that, if reflection were to be used to provide gene=
ral default comparison operators, it would have to be able to &quot;reflect=
 upon&quot; base classes as well as (other) data members. <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/b9f32b39-94e0-412f-9a87-6fe118b10b02%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/b9f32b39-94e0-412f-9a87-6fe118b10b02=
%40isocpp.org</a>.<br />

------=_Part_4969_1608318564.1457458822263--
------=_Part_4968_55014460.1457458822262--

.
