220 41390 <feb17ed2-6565-1d67-ec5c-86deb4602854@gmail.com> article
Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail
From: Andrey Semashev <andrey.semashev@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Improving compile times for non-template
 dependent member functions.
Date: Wed, 23 Jan 2019 19:56:57 +0300
Approved: news@gmane.org
Message-ID: <feb17ed2-6565-1d67-ec5c-86deb4602854@gmail.com>
References: <6a72db2a-932d-4f79-ab68-7c1424e93b9d@isocpp.org>
 <a97e361c-772e-6fb5-5ca8-d72250f45541@gmail.com>
 <f6ad2ae2-079e-3ecd-b40c-3898319a80c4@gmail.com>
 <09ae316c-664f-4508-a8a8-5beaf33c6fcf@isocpp.org>
Reply-To: std-proposals@isocpp.org
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"; format=flowed
Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226";
	logging-data="165250"; mail-complaints-to="usenet@blaine.gmane.org"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101
 Thunderbird/60.0.1
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCXY5TXHWYJRBXNZULRAKGQE5D5MP4A@isocpp.org Wed Jan 23 17:57:04 2019
Return-path: <std-proposals+bncBCXY5TXHWYJRBXNZULRAKGQE5D5MP4A@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-lf1-f71.google.com ([209.85.167.71])
	by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
	(Exim 4.89)
	(envelope-from <std-proposals+bncBCXY5TXHWYJRBXNZULRAKGQE5D5MP4A@isocpp.org>)
	id 1gmLpm-000gr9-Mu
	for gclcip-std-proposals@m.gmane.org; Wed, 23 Jan 2019 17:57:02 +0100
Original-Received: by mail-lf1-f71.google.com with SMTP id l6sf210075lfk.19
        for <gclcip-std-proposals@m.gmane.org>; Wed, 23 Jan 2019 08:57:02 -0800 (PST)
ARC-Seal: i=2; a=rsa-sha256; t=1548262622; cv=pass;
        d=google.com; s=arc-20160816;
        b=FcjFETaMKLflD6g7D61Hfsj1ao5W+mYFVzPjHyHgYoHUgK+PRmXqfoDKoTL4QnSjQT
         jpHMPc5V/VsE3F/tDHHCenIS+lbRAJMcViov93eGQWlAPo5cKI3vH8oADtv0FBRKu4We
         +fVZWSZj8pMVzs2Yma5WOSIV+4OULtmvBisj/293+YMl95Gt3w70l3g9A4YPJgkGhPO2
         RM28vLMHQTjnJph2NdEv9zLSQgpFNp3jnm0Qz+fEBPWmjedpOOVI9vbN3PfyNnpXVA/c
         5OFzmyAzK6qking5lhYSV6eNyGm87djKQdrUGHMQwDKroHl5p8Y5BNFAG3DNihMHl73x
         jklQ==
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:content-language
         :in-reply-to:mime-version:user-agent:date:message-id:from:references
         :to:subject:dkim-signature;
        bh=K8krsWR6kXjfvNEqV9W4u1eWnrHJUE0wxmn9xydr46Q=;
        b=lfpyHUR8hQn70mWBU5mHpQ7UDluwXnQGOPh1/VOeRSBKtFkQ3c2JEEkOo1jEcMOswr
         FyLFD2wkAYLn4ceyKLEobQ0UP3oXSQ29ua+hz8avCce/yCZiupW7I5CeDIX+5AgllzyF
         G5Hhxv/x5UwlT5wwuqZEd+38ZYkxqEjIJWnQ9AZKDbISgkMbU3EyZTP/5UjZGfSat8Mg
         OSWg03zeCbq8cT08fhhPiQzS1RqJCzG61naWLH0hY7VI9C4Y1hgw463qQkcUpmpi8kD+
         qwDrp0n2uFw5VEG01OH7Z3bgik5Gl9X7kKPmcJTL69hXoDjWClmDkOQxAUjdxIBxve1o
         dxVg==
ARC-Authentication-Results: i=2; mx.google.com;
       dkim=pass header.i=@gmail.com header.s=20161025 header.b=Fb1V78vN;
       spf=pass (google.com: domain of andrey.semashev@gmail.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=andrey.semashev@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=subject:to:references:from:message-id:date:user-agent:mime-version
         :in-reply-to:content-language: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=K8krsWR6kXjfvNEqV9W4u1eWnrHJUE0wxmn9xydr46Q=;
        b=Lqh3WAj0xtJsaENaYSdpl44xJjKGupCUSpIwGCgp44mQXpQ3eIqtp61DKQZOfpsYVk
         te+ikRZHS2Y92rqSfLneHm8EPvZPPEwOrnP45LoejjZRqXtTbTBlyU486fI6yecPQv8n
         rRLt1IIai0Kb2ehwWgbzzeb102a9ply3el3tMIlWtqinj2mubi84dtam5lWfAv2xAhgA
         0zbpdlpVKUVf4IZGBi8u9FULeqVpn9VpwuaZX5e63+GIfzQLIqWj2EKBijY/+sC0g21k
         zZjU8+//dEUD02KN35NsLdsWg4FjvOiUFBoIMdNJs69ArCB6jzb8nKOSwiUf1JBeOFQZ
         P5PQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:subject:to:references:from:message-id:date
         :user-agent:mime-version:in-reply-to:content-language
         :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=K8krsWR6kXjfvNEqV9W4u1eWnrHJUE0wxmn9xydr46Q=;
        b=B7Ga6CGmYlxB11ZGgbTofQF1GkMeiISG1m5lsplXFf2/UvUs9ygNVH4rX/eIl+2H6s
         qYaqqiALZLpHjvT69J+fU7Mew1o6JHBDSb1maBnsib5HiFCWf6/8eYbJUdkr6x55uNnj
         txl0oKygf/V/Q9qzf02KsTmlNFcQitl0hBmUB04x54+99XAtXfBS514sbblmT8cM5eyK
         FjqDMFY2Acof8wQbcfZg+6sTvsI9NAggbnq6p/pqMFimKOjxRdEIAWMNRFrzUVN0QMNr
         DNE6WZxY2tdQXQZmNKj/xDWm6R4qf4VlHHfMBlhpqmGbca8xjghZxpMy+r3fk8svm0rR
         E 
X-Gm-Message-State: AJcUukeqsgYGXKaon0jnzbmDzyd1OeQlQBhi/+gSVLXiDGbQgFUetia+
	NzecE/wYdXi91nHZrklEGiPBKg==
X-Google-Smtp-Source: ALg8bN5Hzz3WIdHnEQuHebqHuz5sDz8FvyUpBGuI0r1YbnxoKO93746D6s3QWMyo5hIyroAMGxDZ1g==
X-Received: by 2002:a19:740a:: with SMTP id v10mr261537lfe.16.1548262622004;
        Wed, 23 Jan 2019 08:57:02 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 2002:a2e:1259:: with SMTP id t86-v6ls430763lje.13.gmail; Wed, 23
 Jan 2019 08:57:00 -0800 (PST)
X-Received: by 2002:a2e:4218:: with SMTP id p24-v6mr2597091lja.58.1548262620194;
        Wed, 23 Jan 2019 08:57:00 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; t=1548262620; cv=none;
        d=google.com; s=arc-20160816;
        b=JKcRG4SbmiNt/N5gml7p/nOMqGO8oj6ZWE5TX1V2EmR1EMGQSv/yD9HBwZYcsdJj9j
         CUocUul/7TSOJb/ht53nVL/qCHSd4ciFsq6yfzK6ssXh1FfsplhsL/6zS9d56ja8ORAq
         PdYVydh0+URs5tJjXzIIEliVnPiimxxlWHHVDXMF11r30Mc9RJXiDK91DVpxhfgJ4YUc
         DzwVdIemaeUDAJSXECMaNCkSHf+4TxG56olOf0U/hDRpMrWg+eAdcoW1vbrxXA14b3HE
         EeN0dJA/1Dvpey0fGNDNC2y2R03Sh0yOZmuDmE5gi5SGSVeDNvKFG30ygVxj2WyRQRWQ
         HhLA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=content-transfer-encoding:content-language:in-reply-to:mime-version
         :user-agent:date:message-id:from:references:to:subject
         :dkim-signature;
        bh=hp0ZliPZQEmFnTxEm3DNoEmzUPFLYVUlmoPI80c/VJo=;
        b=BiYcnfOv8KNvzu+hZwBw9zJhNKU/bt2p9xL+yLg4f0TbdKx433eGKRvTRwLYUr6aeM
         JzmQyCT9DTLZbURmskqI5aOZFaX7PB3z7tw3dE14IE8fsVSbGcHoAa2ppvcF+Gq2ZzMg
         7jlVlAPB0tix8aRlFB8CSFnY3QYeCKuhoCEC27tjd7Ve7T70LzY98CJkIz0swZmNVPFT
         vjt+2J1Bl2Ybb0HlZRmtFdGLD4rAwOMdQmqfISOVYW1u9An1YhV8JzeHjHAaFKnUGNN7
         oBqyILUtE5UW3Dky+SKh1i+Mwy0yEAp5LCdYFRR+u3IknldtuuhX9Ew/mHR/YmPCklp+
         do4Q==
ARC-Authentication-Results: i=1; mx.google.com;
       dkim=pass header.i=@gmail.com header.s=20161025 header.b=Fb1V78vN;
       spf=pass (google.com: domain of andrey.semashev@gmail.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=andrey.semashev@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 v12-v6sor1109042ljg.30.2019.01.23.08.57.00
        for <std-proposals@isocpp.org>
        (Google Transport Security);
        Wed, 23 Jan 2019 08:57:00 -0800 (PST)
Received-SPF: pass (google.com: domain of andrey.semashev@gmail.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41;
X-Received: by 2002:a2e:1b47:: with SMTP id b68-v6mr2648790ljb.104.1548262619554;
        Wed, 23 Jan 2019 08:56:59 -0800 (PST)
Original-Received: from [192.168.1.2] (broadband-37-110-31-10.ip.moscow.rt.ru. [37.110.31.10])
        by smtp.googlemail.com with ESMTPSA id g17sm592754lfj.36.2019.01.23.08.56.58
        for <std-proposals@isocpp.org>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Wed, 23 Jan 2019 08:56:58 -0800 (PST)
In-Reply-To: <09ae316c-664f-4508-a8a8-5beaf33c6fcf@isocpp.org>
Content-Language: ru
X-Original-Sender: andrey.semashev@gmail.com
X-Original-Authentication-Results: mx.google.com;       dkim=pass
 header.i=@gmail.com header.s=20161025 header.b=Fb1V78vN;       spf=pass
 (google.com: domain of andrey.semashev@gmail.com designates 209.85.220.41 as
 permitted sender) smtp.mailfrom=andrey.semashev@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-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:41390
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/41390>

On 1/23/19 7:54 PM, p groarke wrote:
> 
> On Wednesday, January 23, 2019 at 11:34:36 AM UTC-5, Andrey Semashev wrote:
> 
>     Also, even if val's body does not depend on template parameters of its
>     class, it is still dependent. test<T>::val are distinct functions for
>     different Ts. There are also template specializations to consider.
> 
> Is it though? Couldn't the compiler mark the function as non-dependent 
> on T, and generate one member function for all test<T>?

No.

-- 
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/feb17ed2-6565-1d67-ec5c-86deb4602854%40gmail.com.

.
