220 37898 <CAFk2RUae1PpsbbQMhS+sQ24CjLtE+QUhjQtJk_wKCGJtHfZkEg@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: API versioning: functions: overload; classes:
 typedef; variables: <meep>
Date: Fri, 20 Apr 2018 15:59:49 +0300
Lines: 44
Approved: news@gmane.org
Message-ID: <CAFk2RUae1PpsbbQMhS+sQ24CjLtE+QUhjQtJk_wKCGJtHfZkEg@mail.gmail.com>
References: <2e63ae60069efc0fb81610ac2bd35491@kdab.com> <CAFk2RUbmRs7E5wZ6xFKL7ehXc8pn3g9Hj-n8p=FcA1qU-QHeMw@mail.gmail.com>
 <2d519188-69b6-434d-9573-9875a7806f05@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 1524229065 7701 195.159.176.226 (20 Apr 2018 12:57:45 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Fri, 20 Apr 2018 12:57:45 +0000 (UTC)
To: "ISO C++ Standard - Future Proposals" <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBC5JHI7A7ALRBRWI47LAKGQENJS4RVI@isocpp.org Fri Apr 20 14:57:41 2018
Return-path: <std-proposals+bncBC5JHI7A7ALRBRWI47LAKGQENJS4RVI@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-oi0-f72.google.com ([209.85.218.72])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBC5JHI7A7ALRBRWI47LAKGQENJS4RVI@isocpp.org>)
	id 1f9Vbh-0001vD-1U
	for gclcip-std-proposals@m.gmane.org; Fri, 20 Apr 2018 14:57:41 +0200
Original-Received: by mail-oi0-f72.google.com with SMTP id p131-v6sf4415195oig.10
        for <gclcip-std-proposals@m.gmane.org>; Fri, 20 Apr 2018 05:59:52 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1524229191; cv=pass;
        d=google.com; s=arc-20160816;
        b=N+OvE7HIqrckotFgsxp1VuxfOSj1UyhkMzic0i9cvbdvoqb8ia+Nf7dtj8GI36Hw/O
         57kYFMNXY69vWh5r5xaIx8zUX1pdQdZcSV/FwF+71Oul0AJMvrPeAWB2nB2grY4eYbXO
         buPESpqXRbj/Zce2ZNhw6sF+M7Ij+h6GKWfB55Ep9efa9jcETR6yb4acnxHgw8Hf0Tzp
         B99mD6FOaPtpEuuE9AsC9ksTppSVyYdxuwgIDY/phOEJQTta7oNIFo65MBLSh35A091B
         B+cHrBMKvkBw2Fox/lct3B3p0fz2Bl+uu1wu9L1gwuebdTvV/aCGZiZzKtFs7k0310OX
         Vw7w==
ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
         :list-id:mailing-list:precedence:reply-to:to:subject:message-id:date
         :from:references:in-reply-to:mime-version:arc-authentication-results
         :arc-message-signature:dkim-signature:arc-authentication-results;
        bh=75M6XxC0kkkQhvGlonLnRE6bYYC65F4ki9OphB+1K/o=;
        b=wGQ2Lo+KiUhE3fh0d3Wndyu4nH3YNPZqEBMu7SLn3LtllUfWlayUJa/O0smc6730/I
         A/gSQXr2QujIslDn9V7dGHNFW7gsGQldw952qlnRrHe+R38p3QABwaIeJkNiNdNE1DQu
         aQwdL36gh4oLx5SUK1y5bhJ/mRCL0ad/4yOvHh6n2Qg72pnDGIR4LBv3sWqes+/y12vt
         znyThs5HsxojgvwwxEkT4yWPX1pS79g+7Td/VO36s83Q95gFcRx/uIvONZFd7PWEU9l/
         NCVzVvw7TOyxc+24TMKjhl6V7oBioSlVmYR5rM5/yiGUHGTQ0QuhSUbRsAonAD3HDO3f
         Z4TQ==
ARC-Authentication-Results: i=2; mx.google.com;
       dkim=pass header.i=@gmail.com header.s=20161025 header.b=oEFBH9L/;
       spf=pass (google.com: domain of ville.voutilainen@gmail.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=ville.voutilainen@gmail.com;
       dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com
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:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=75M6XxC0kkkQhvGlonLnRE6bYYC65F4ki9OphB+1K/o=;
        b=m65PFrjSggMBcGxP8yvoUzmPUjkbfnLxIpOzuojGx5uT7nEbGNZtx84GQCLLhEDmAE
         4WHE3k3EXGEaQEnxaM1oqx44L0UBzjbXLMsylF8AQzEEEajMEofs9IFN5NEujSbZa4Ck
         7pOO6TCI+sZaLegPML7gDRjTg0hTAObci7ecD+0e7pHDs/Wc5M1QaWNyDt70xpJ4nRXo
         bVX8xt5fFC5ISXKWnvuo8kvHYaPvHco62CFvkGNazgPx8xmzDT8i0HKScxhZ5j30XDtU
         77sntVwB8k3f/PyKjpyaayCp3kJX7BM63vbI+slrtaYon4Zlugpk39Wak3XFJyzdXPST
         Zecg==
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=75M6XxC0kkkQhvGlonLnRE6bYYC65F4ki9OphB+1K/o=;
        b=PNblNpJ/+ZCIC8jBqxif45tsxBALBYmsu4DUzPAuVncmeYm6Pjug1I49FvUSpDO8lf
         oJ0kwEwYqojLLCcrZETndMAvnwNplVT4BxLvTXfe24Gc0EzOo/jFNqqlvr156eQDPxwj
         YeBHfPTOBBwcAkO1K3pfYKZa2utGBxcV+BmKw8lPHJq5iIt3Sd6lUuwcRH1L2vUfFFzw
         AmSqu+91yM8t9B50A6QWkAE71gk2QE6N6GmJ4cPdf4xxuvt+coWeIExSYqpN0toetlNo
         O/b5vkVoylZPrg990+e0B0llVAyeA6grvwoknpsOjEcr7rMqxZZBXhOo2SDvBKr6/Rzy
         68LQ==
X-Gm-Message-State: ALQs6tCeRu0id6YFJMYbucEJscni3YEBelUFLHz50BW70yrIgDWf5UPI
	qEyGZ8BvmgqHmISokxCeVFwedw==
X-Google-Smtp-Source: AIpwx48w1g3gBNyjiTYIRuAjsk0BlxcXRpu/wUZVkBfV7B27UDU9Vloos9IU1wn79vJYhVX9kBKBNg==
X-Received: by 2002:aca:6c50:: with SMTP id h77-v6mr4523771oic.99.1524229191492;
        Fri, 20 Apr 2018 05:59:51 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 2002:aca:4ed3:: with SMTP id c202-v6ls1266833oib.14.gmail; Fri,
 20 Apr 2018 05:59:50 -0700 (PDT)
X-Received: by 2002:aca:d60d:: with SMTP id n13-v6mr5689543oig.189.1524229190201;
        Fri, 20 Apr 2018 05:59:50 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1524229190; cv=none;
        d=google.com; s=arc-20160816;
        b=aLbje9UaAgoFN6y0t6mRjmzxcxbd+K/NbyrYDOdtqh3+V58Byyq+8DTWoyaVRS3gAY
         HFO1/z9x3K52oi+N4QWcWplkX0QdbQhWEv6ehGqJa5T5mfJXQdLiqo3tJ50vB8ieKWZj
         dBh+lsQ1pqsYbPKrzdJ6sTGcpO7JA630gr3rzfFZ/hDYXaIHg19n31wVWX5AEHHSVSxK
         yL+6BBPq1CPLZBOkp25LcZwMcZPRo08mYpecMxTBmU9sb9WWd24wXAwgJJduz+IoNJKa
         46CsSrQwcXB4OfI3Q5e9S0ADaSs0ytUe3VhGmlI8B/YhFTDiWA2vAILoWOs0M7qnrBna
         aWgw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=to:subject:message-id:date:from:references:in-reply-to:mime-version
         :dkim-signature:arc-authentication-results;
        bh=3vcgqV16WOZXXJOFyT5AD5LDVS2MUIZIzawT2FK8J+8=;
        b=fyiV5ZikLHyWCcoAqDztLwmrvyGDec1oyr1aH7mrZQt6nAfDmvQy5IiB+ScMvtPELR
         1dhR/vbQ7kfXvE5j72kzHlHFXEq71KECyB144K0DrVKY4/WfqoHghOjaGagAIPiYPHC8
         bZAlxa1de49Ua1KX9RCIDc2Qhp0EgE81SszBz5qlyYbXf+SsLxB1hqPfYcS1vtUV+FJy
         I39cQWlWgzYw6rrqtsLFubs0FphwwFD966gxk9d5uWLUBGGIRW/IXOZZEOn18yep0AZi
         1Ie+69yMkAdI0f2D68DtqY3BEp4wjEdrg0v1ed1Y+Gxwy4L8VrzUAH3aykPQG5xe82YC
         UVrg==
ARC-Authentication-Results: i=1; mx.google.com;
       dkim=pass header.i=@gmail.com header.s=20161025 header.b=oEFBH9L/;
       spf=pass (google.com: domain of ville.voutilainen@gmail.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=ville.voutilainen@gmail.com;
       dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com
Original-Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41])
        by mx.google.com with SMTPS id o9-v6sor2844742otd.204.2018.04.20.05.59.50
        for <std-proposals@isocpp.org>
        (Google Transport Security);
        Fri, 20 Apr 2018 05:59:50 -0700 (PDT)
Received-SPF: pass (google.com: domain of ville.voutilainen@gmail.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41;
X-Received: by 2002:a9d:118f:: with SMTP id v15-v6mr620842otf.125.1524229189767;
 Fri, 20 Apr 2018 05:59:49 -0700 (PDT)
Original-Received: by 2002:a9d:183a:0:0:0:0:0 with HTTP; Fri, 20 Apr 2018 05:59:49
 -0700 (PDT)
In-Reply-To: <2d519188-69b6-434d-9573-9875a7806f05@isocpp.org>
X-Original-Sender: ville.voutilainen@gmail.com
X-Original-Authentication-Results: mx.google.com;       dkim=pass
 header.i=@gmail.com header.s=20161025 header.b=oEFBH9L/;       spf=pass
 (google.com: domain of ville.voutilainen@gmail.com designates 209.85.220.41
 as permitted sender) smtp.mailfrom=ville.voutilainen@gmail.com;
       dmarc=pass (p=NONE sp=QUARANTINE 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-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/>
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:37898
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/37898>

On 20 April 2018 at 15:25,  <inkwizytoryankes@gmail.com> wrote:
>> See http://open-std.org/JTC1/SC22/WG21/docs/papers/2018/p0945r0.html
>> We're going to review it in Rapperswil.
>
>
> I have case:
>
> class F
> {
>    using ThisType = F;
>    ThisType()
>    {
>
>    }
>    ~ThisType()
>    {
>
>    }
> };
> I will be allowed? Or it still special case that can't be changed?


Yes, the proposal allows it. Quoth:

"As with the existing alias-declaration, this new form is permitted at
namespace scope, block scope, and within class definitions. An
alias-declaration that names a non-static data member or non-static
member function may only appear as a member-declaration of the same
class or one of its derived classes. An alias-declaration that names a
namespace may not appear at class scope. No other restrictions are
proposed on the kind of entity that may be named by the id-expression.

For consistency, we propose removing those restrictions from
using-declarations that are not present for this form of
alias-declaration:

A class-scope using-declaration may name a non-class member"

-- 
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/CAFk2RUae1PpsbbQMhS%2BsQ24CjLtE%2BQUhjQtJk_wKCGJtHfZkEg%40mail.gmail.com.

.
