220 19491 <mpg8sl$q51$1@ger.gmane.org> article
Path: news.gmane.org!not-for-mail
From: Bo Persson <bop@gmb.dk>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Omitting multiple access specifiers in base-specifier
Date: Fri, 31 Jul 2015 18:48:21 +0200
Lines: 52
Approved: news@gmane.org
Message-ID: <mpg8sl$q51$1@ger.gmane.org>
References: <CAFk2RUYUFdL9+wqz1P-DEZgmXACppdBapcHzsnFd2D6F6xObWw@mail.gmail.com>
 <d35ed89d-beaf-4dd3-8dd9-b870bce904f5@isocpp.org>
 <CAOHCbitDJY2XDPYkuMfH2UMqoTq2nnHoLsFDN4kHzCkSY7gPQQ@mail.gmail.com>
 <6e813678-3540-4717-9c9c-7f4b5ed2cd82@isocpp.org>
 <CAOHCbiv=FAgcuhpLWCE2CHwZ8KKWrbLnQ7wRzVd8Z40zLkM3Pw@mail.gmail.com>
 <ccc9bca4-d726-4b2b-8451-31e7e7068444@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
X-Trace: ger.gmane.org 1438361331 27122 80.91.229.3 (31 Jul 2015 16:48:51 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Fri, 31 Jul 2015 16:48:51 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCZ6RLW3UIKBB2GN52WQKGQEHYQ6Q3A@isocpp.org Fri Jul 31 18:48:43 2015
Return-path: <std-proposals+bncBCZ6RLW3UIKBB2GN52WQKGQEHYQ6Q3A@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-wi0-f199.google.com ([209.85.212.199])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCZ6RLW3UIKBB2GN52WQKGQEHYQ6Q3A@isocpp.org>)
	id 1ZLDUA-0000LG-BY
	for gclcip-std-proposals@m.gmane.org; Fri, 31 Jul 2015 18:48:42 +0200
Original-Received: by wicmm11 with SMTP id mm11sf10137577wic.3
        for <gclcip-std-proposals@m.gmane.org>; Fri, 31 Jul 2015 09:48:41 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:to:from:subject:date:lines:message-id:references
         :mime-version:content-type:user-agent:in-reply-to:x-original-sender
         :x-original-authentication-results:reply-to:precedence:mailing-list
         :list-id:x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=8kpFxjirNh/PB7msNsWCeVRRAOkQKfGdSE8c8oaEvn8=;
        b=eYzW+3tHkAY7nlgkC5A3Xep5yN9Ihtr2wI/jLi5FVEJq7d8xHYtZA8VhZJiEKjXkV4
         6YFpHjgcLZEW0MqATGUGfW5syrDbvS95kSpCqEI2r79/RNWEgyK+IbUVSWDAMXxbk/Dd
         g1iX6OhNzMFHlwk67/hSnX+DCyutqYBflVBmKoZYtNc7aUu54szOkC6pGKESpeyogpjD
         QiW4ItFhYYFAuhPEBBsUTea1gUb6PDV9D0F+uFdn/4DyoCyPOkNM59h6o0lc67mF45pe
         3y+9nETmgf7refTmV0AxVmLnAIt67xiBxyBPTbOocWfF+yMvgCh0A3M38oDOiS2VC4tT
         
X-Gm-Message-State: ALoCoQnbj2aCDFMI4DTy7bgDTEpdlOH5FaveF2pXnSkmfTR7xAc5hkG4XnhGJAvuxaPwFhIUPFsQ
X-Received: by 10.112.173.230 with SMTP id bn6mr1217922lbc.15.1438361321577;
        Fri, 31 Jul 2015 09:48:41 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.152.27.101 with SMTP id s5ls346447lag.108.gmail; Fri, 31 Jul
 2015 09:48:40 -0700 (PDT)
X-Received: by 10.152.7.65 with SMTP id h1mr4002231laa.33.1438361320085;
        Fri, 31 Jul 2015 09:48:40 -0700 (PDT)
Original-Received: from plane.gmane.org (plane.gmane.org. [80.91.229.3])
        by mx.google.com with ESMTPS id dl8si4256527lad.72.2015.07.31.09.48.39
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=RC4-SHA bits=128/128);
        Fri, 31 Jul 2015 09:48:39 -0700 (PDT)
Received-SPF: pass (google.com: domain of gclcip-std-proposals@m.gmane.org designates 80.91.229.3 as permitted sender) client-ip=80.91.229.3;
Original-Received: from list by plane.gmane.org with local (Exim 4.69)
	(envelope-from <gclcip-std-proposals@m.gmane.org>)
	id 1ZLDU6-0000JB-N5
	for std-proposals@isocpp.org; Fri, 31 Jul 2015 18:48:38 +0200
Original-Received: from c-358fe655.021-326-6d6c6d10.cust.bredbandsbolaget.se ([85.230.143.53])
        by main.gmane.org with esmtp (Gmexim 0.1 (Debian))
        id 1AlnuQ-0007hv-00
        for <std-proposals@isocpp.org>; Fri, 31 Jul 2015 18:48:38 +0200
Original-Received: from bop by c-358fe655.021-326-6d6c6d10.cust.bredbandsbolaget.se with local (Gmexim 0.1 (Debian))
        id 1AlnuQ-0007hv-00
        for <std-proposals@isocpp.org>; Fri, 31 Jul 2015 18:48:38 +0200
X-Injected-Via-Gmane: http://gmane.org/
Original-Lines: 43
Original-X-Complaints-To: usenet@ger.gmane.org
X-Gmane-NNTP-Posting-Host: c-358fe655.021-326-6d6c6d10.cust.bredbandsbolaget.se
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101
 Thunderbird/38.1.0
In-Reply-To: <ccc9bca4-d726-4b2b-8451-31e7e7068444@isocpp.org>
X-Original-Sender: gclcip-std-proposals@m.gmane.org
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of gclcip-std-proposals@m.gmane.org designates 80.91.229.3 as
 permitted sender) smtp.mail=gclcip-std-proposals@m.gmane.org
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: <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:19491
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/19491>

On 2015-07-31 17:23, Arthur Tchaikovsky wrote:
> Hi Tony,
> As much I respect your opinion, you cannot say that my proposed syntax
> is _sort of_ uniform. It is uniform. It is orthogonal *one - to - one*
> with internals of a class and how theirs access are specified. Example:
>
> class X
> {
> public:
> int a, b, c;
> };
>
> class X : public: A,B,C;
> {
> };


struct X : A,B,C
{
};

already does this, and even shorter.

How many variants do we really need?

>
> The point here is that:
> a) there is a colon after access modifier, all separate base classes
> have *the same* access modifier and are separated by comma and the
> statement of declaring inheritance access modifier is ended with
> semicolon. This is *exactly* one to one mapping. Not, _sort of_, not
> *false* as Ville was implying, but *exact*, one to one mapping.
>

Can't even remember when was the last time I had 3 or more base classes. 
Are we solving a real problem here?


Bo Persson





-- 

--- 
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/.

.
