220 31704 <40301952.JFSPpDkHTG@tjmaciei-mobl1> article
Path: news.gmane.org!.POSTED!not-for-mail
From: Thiago Macieira <thiago@macieira.org>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Simplify virtual inheritance rules
Date: Sun, 19 Mar 2017 17:36:21 -0700
Lines: 28
Approved: news@gmane.org
Message-ID: <40301952.JFSPpDkHTG@tjmaciei-mobl1>
References: <6aa2e439-345e-4f04-8843-f38bb7b825b2@isocpp.org> <5741111.lt9RR1yvSQ@tjmaciei-mobl1> <CAFk2RUaf23ZfK3v=g4j6gwA6KAOTWNtbB=1fGKuRia8HiNs35Q@mail.gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Trace: blaine.gmane.org 1489970192 24351 195.159.176.226 (20 Mar 2017 00:36:32 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Mon, 20 Mar 2017 00:36:32 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCB4TK757YBRBCOIXTDAKGQEHMIHLHQ@isocpp.org Mon Mar 20 01:36:25 2017
Return-path: <std-proposals+bncBCB4TK757YBRBCOIXTDAKGQEHMIHLHQ@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-pg0-f69.google.com ([74.125.83.69])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBCB4TK757YBRBCOIXTDAKGQEHMIHLHQ@isocpp.org>)
	id 1cplJ6-00052D-SQ
	for gclcip-std-proposals@m.gmane.org; Mon, 20 Mar 2017 01:36:21 +0100
Original-Received: by mail-pg0-f69.google.com with SMTP id 79sf142672204pgf.2
        for <gclcip-std-proposals@m.gmane.org>; Sun, 19 Mar 2017 17:36:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=from:to:subject:date:message-id:in-reply-to:references:mime-version
         :content-transfer-encoding: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=opCujC9BTHD1J2zJoTM4+rJe2NNVAmX8GPd3cLoQzaE=;
        b=HMAttF1ls649tY0msAF9lSsuw0hsBO3KB/ic2N5XxrKzk+MpF9Jnww2HIps4X80RFX
         KR57l0uoVLbC3eseU4JtBKJXHlZTBrPEZBaKgaPtTxf4lGLDmUDqMLdPuA0J8pH8UVBs
         aJpftdWw/Xho2aKZh2oNPYShZ3z5z3a+qsNvZDivUk6MN0j9Zk6JZ0BoedU12ziRUoF1
         WNaER3hRdsPDfCptw4TO/eLaVsJzI74ZRsWF+tCmobfg8c5GRef6cRhXmzJrhBT+IoTH
         watwROY4ZEinUByCAtf6xcdlhlSjQ4ksy23SGXWMxeWXXO7FIGFMdf4PG+KMCKPcTXXc
         g9Bg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to
         :references:mime-version:content-transfer-encoding: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=opCujC9BTHD1J2zJoTM4+rJe2NNVAmX8GPd3cLoQzaE=;
        b=G6m+dtNKplxPu/VV8u+w2ZogttnV5iv2vzXFXiy62mNcpXvMJED+QSSPmFFxCdgvO0
         vpBVCB0lum6C6WManWzxvol8Wty4wYd4Wek5QvLCIOPwAh3i5A3x4m7Je9OgH+O2JLcO
         3o4SzTKWiIQaI9TqBbEqDD7KpNut+DfETHN1we8/stXaHcSn78b8QWH4ITtAqJr1ZrZD
         R4ez9DRVfRL81dBfniQe7/X0vhIdIvGmddEN56rBcqGhfTLvjMXAhpLTmhHHHxsW1HWN
         GtUNIaWKuaTJeM3Rc/miUfug+/fcwiTdc+7kTSW30P2aY+Hv8TUGZjYCUSqCZtp+Al1v
         1CN 
X-Gm-Message-State: AFeK/H07RmpVNvKo+QVNqjjbhldTWM1wgrah4DWXEb4QbRXCm++HHhCgAl4cbQddvbFzlw==
X-Received: by 10.99.56.80 with SMTP id h16mr3756946pgn.83.1489970186383;
        Sun, 19 Mar 2017 17:36:26 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.157.89.216 with SMTP id u24ls6687145otg.40.gmail; Sun, 19 Mar
 2017 17:36:25 -0700 (PDT)
X-Received: by 10.13.223.149 with SMTP id i143mr11862622ywe.32.1489970185534;
        Sun, 19 Mar 2017 17:36:25 -0700 (PDT)
Original-Received: from gondolin.macieira.info (gondolin.macieira.info. [2a01:4f8:d13:f81:21c:14ff:fe01:12a3])
        by mx.google.com with ESMTP id g66si4951715ybi.50.2017.03.19.17.36.25
        for <std-proposals@isocpp.org>;
        Sun, 19 Mar 2017 17:36:25 -0700 (PDT)
Received-SPF: pass (google.com: domain of thiago@macieira.org designates 2a01:4f8:d13:f81:21c:14ff:fe01:12a3 as permitted sender) client-ip=2a01:4f8:d13:f81:21c:14ff:fe01:12a3;
Original-Received: from tjmaciei-mobl1.localnet (unknown [IPv6:2601:1c0:4501:5f9f:ad30:6dbd:5d7:7a4d])
	by gondolin.macieira.info (Postfix) with ESMTPSA id BF35C11B634
	for <std-proposals@isocpp.org>; Sun, 19 Mar 2017 17:36:23 -0700 (PDT)
In-Reply-To: <CAFk2RUaf23ZfK3v=g4j6gwA6KAOTWNtbB=1fGKuRia8HiNs35Q@mail.gmail.com>
X-Original-Sender: thiago@macieira.org
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of thiago@macieira.org designates 2a01:4f8:d13:f81:21c:14ff:fe01:12a3
 as permitted sender) smtp.mailfrom=thiago@macieira.org
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: <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/>
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:31704
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/31704>

On domingo, 19 de mar=C3=A7o de 2017 13:01:52 PDT Ville Voutilainen wrote:
> 1) if default-initializing B from E is valid, we're done.
> 2) if default-initializing B from E fails due to access violation, we're
> done. 3) if default-initializing B from E fails due to overload resolutio=
n
> failure for not finding a viable candidate,
> don't initialize B in E but instead initialize E in D.
> 4) any existing explicit initialization of B from E is unchanged, and
> there's no fallback to any base class.

You're excluding the "I'll have what he's having" case. That is, in your=20
example, there's no way to have E initilise B like D does without specifica=
lly=20
duplicating what D does.

--=20
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center

--=20
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 e=
mail 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/40301952.JFSPpDkHTG%40tjmaciei-mobl1.

.
