220 31690 <CAFk2RUZNBo6oE9M4uZbN97yCDHwsvj_zKN0qV8EAX=wmQTX9Xw@mail.gmail.com> article
Path: news.gmane.org!.POSTED!not-for-mail
From: Ville Voutilainen <ville.voutilainen@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Simplify virtual inheritance rules
Date: Sun, 19 Mar 2017 14:28:15 +0200
Lines: 18
Approved: news@gmane.org
Message-ID: <CAFk2RUZNBo6oE9M4uZbN97yCDHwsvj_zKN0qV8EAX=wmQTX9Xw@mail.gmail.com>
References: <6aa2e439-345e-4f04-8843-f38bb7b825b2@isocpp.org>
 <CAFk2RUZgeRfv4zYnc+y_Cw1-1onyj-725pq-UUizv8GVm8KQCQ@mail.gmail.com>
 <2340e1b0-09bd-4f5b-bf15-7605eaed858b@isocpp.org> <CAFk2RUZJf0Ls6dD3EE4eSTUiEET7Caa_2h2S4O7YWbBAeYP9xg@mail.gmail.com>
 <b16cfa2e-0aea-45c3-a822-87e196a10ddb@isocpp.org> <25e054ca-aac4-4bcc-805a-4e1357de4f37@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
X-Trace: blaine.gmane.org 1489926500 25392 195.159.176.226 (19 Mar 2017 12:28:20 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Sun, 19 Mar 2017 12:28:20 +0000 (UTC)
To: "ISO C++ Standard - Future Proposals" <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBC5JHI7A7ALRBYHSXHDAKGQE7PMLYPQ@isocpp.org Sun Mar 19 13:28:15 2017
Return-path: <std-proposals+bncBC5JHI7A7ALRBYHSXHDAKGQE7PMLYPQ@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-pf0-f200.google.com ([209.85.192.200])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBC5JHI7A7ALRBYHSXHDAKGQE7PMLYPQ@isocpp.org>)
	id 1cpZwR-0005ny-G2
	for gclcip-std-proposals@m.gmane.org; Sun, 19 Mar 2017 13:28:11 +0100
Original-Received: by mail-pf0-f200.google.com with SMTP id o126sf216025936pfb.2
        for <gclcip-std-proposals@m.gmane.org>; Sun, 19 Mar 2017 05:28:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=mime-version:in-reply-to:references:from:date:message-id:subject: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=03d21CjaCdIgMrDeiXogUYCbUeaG8mNLdon38v6Vxp8=;
        b=a2DD0A+lZ1tRWS2bZmudlsv3iiNOVtnYZmqLipqfjLU8avlKNgD0mo8iI1UCX4/gBE
         ipglfmVB4r0g+TdJzZiC/l0BhTCkyvk5CD/jLqdJT3XACGz2JmrlbVumawEfFGrp1CSK
         tNPv+2mxS7wKRC6HzNdTxun6fBv0mdJNo3g0bU3rwqanZbV61dWlKizpFqtTag0xwty5
         gSdJyvSnshmc6Ny9N0q9/7d8NpvG2pR5+LlseKHDOcGwnCbAKeHf2aHByNIz/rEy93G3
         41IIv7Lv6y4zLQUZQ6ZmA8UulqotKp+8zVqJ6hnjewH0vFbp4+FaYk83gk0Lbmv3bf3x
         FPqQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:mime-version:in-reply-to:references:from:date
         :message-id:subject: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=03d21CjaCdIgMrDeiXogUYCbUeaG8mNLdon38v6Vxp8=;
        b=sPbTLWHbge5h4zhaPpotcWuXZAophuHdUwI/5mgTCwJwFAyUsdL67tJf/7S+9b1xxT
         STJzun0nRSw5p7btOzp626HIxsJ1oeOiJF6M5/uB2jUlqMFjXs6W64fCL7Y4dAwIg9TS
         27RP/O3tU3EMMaFGBc8jyJxUmyp4jJVUflCu9Obj6bUdHpuZHyn5dQyvclk9xwckufEx
         xHISD83mQxLblJQZe9IXjy/Vb5lMfFU7YTO1+YQ7KNrkkATcwPYM2HULO+92K1tU93JX
         +f3JKKfCRJXDKoh0N4RG4xkpJHE0Clk8kMvooEZJvutvO/RTmKaRTvSjVJLfVLW9rS0i
         XqzQ==
X-Gm-Message-State: AFeK/H33Z/0MQdqBShbUklrpjee8hncL3PX9yoprKNyVIaBXibKqm2678hAEcCLMEOlKng==
X-Received: by 10.99.114.70 with SMTP id c6mr13052154pgn.17.1489926497251;
        Sun, 19 Mar 2017 05:28:17 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.157.47.173 with SMTP id r42ls12039361otb.26.gmail; Sun, 19 Mar
 2017 05:28:16 -0700 (PDT)
X-Received: by 10.157.39.6 with SMTP id r6mr11832906ota.45.1489926496472;
        Sun, 19 Mar 2017 05:28:16 -0700 (PDT)
Original-Received: from mail-oi0-x232.google.com (mail-oi0-x232.google.com. [2607:f8b0:4003:c06::232])
        by mx.google.com with ESMTPS id v47si5692166ota.145.2017.03.19.05.28.16
        for <std-proposals@isocpp.org>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Sun, 19 Mar 2017 05:28:16 -0700 (PDT)
Received-SPF: pass (google.com: domain of ville.voutilainen@gmail.com designates 2607:f8b0:4003:c06::232 as permitted sender) client-ip=2607:f8b0:4003:c06::232;
Original-Received: by mail-oi0-x232.google.com with SMTP id w81so12155980oig.1
        for <std-proposals@isocpp.org>; Sun, 19 Mar 2017 05:28:16 -0700 (PDT)
X-Received: by 10.202.179.132 with SMTP id c126mr3409511oif.64.1489926496134;
 Sun, 19 Mar 2017 05:28:16 -0700 (PDT)
Original-Received: by 10.157.13.22 with HTTP; Sun, 19 Mar 2017 05:28:15 -0700 (PDT)
In-Reply-To: <25e054ca-aac4-4bcc-805a-4e1357de4f37@isocpp.org>
X-Original-Sender: ville.voutilainen@gmail.com
X-Original-Authentication-Results: mx.google.com;       dkim=pass
 header.i=@gmail.com;       spf=pass (google.com: domain of
 ville.voutilainen@gmail.com designates 2607:f8b0:4003:c06::232 as permitted
 sender) smtp.mailfrom=ville.voutilainen@gmail.com;       dmarc=pass (p=NONE
 sp=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: <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:31690
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/31690>

On 19 March 2017 at 14:22, Denis Kotov <redradist@gmail.com> wrote:
> Thanks for comment T. C.,
>
> But I do not agree that it is not worth to do it.
> Consider situation of very long chain of inheritance. Why in this chain user
> has to call every time constructor for VirtualBase ?


The language statically guarantees that the initialization of the
VirtualBase is performed. Your
suggestion turns that static guarantee into undefined behavior.

-- 
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/CAFk2RUZNBo6oE9M4uZbN97yCDHwsvj_zKN0qV8EAX%3DwmQTX9Xw%40mail.gmail.com.

.
