220 41386 <7140056.skhr9ZE8Xc@tjmaciei-mobl1> article
Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail
From: Thiago Macieira <thiago@macieira.org>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Improving compile times for non-template
 dependent member functions.
Date: Wed, 23 Jan 2019 08:20:34 -0800
Approved: news@gmane.org
Message-ID: <7140056.skhr9ZE8Xc@tjmaciei-mobl1>
References: <6a72db2a-932d-4f79-ab68-7c1424e93b9d@isocpp.org>
Reply-To: std-proposals@isocpp.org
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226";
	logging-data="20784"; mail-complaints-to="usenet@blaine.gmane.org"
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCB4TK757YBRBWNIULRAKGQEEPTMGJY@isocpp.org Wed Jan 23 17:26:27 2019
Return-path: <std-proposals+bncBCB4TK757YBRBWNIULRAKGQEEPTMGJY@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-qt1-f199.google.com ([209.85.160.199])
	by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
	(Exim 4.89)
	(envelope-from <std-proposals+bncBCB4TK757YBRBWNIULRAKGQEEPTMGJY@isocpp.org>)
	id 1gmLGd-0001bs-N8
	for gclcip-std-proposals@m.gmane.org; Wed, 23 Jan 2019 17:20:43 +0100
Original-Received: by mail-qt1-f199.google.com with SMTP id k90sf3008395qte.0
        for <gclcip-std-proposals@m.gmane.org>; Wed, 23 Jan 2019 08:20:43 -0800 (PST)
ARC-Seal: i=2; a=rsa-sha256; t=1548260442; cv=pass;
        d=google.com; s=arc-20160816;
        b=GHqk6E6xszV0lFWnd8wzBcU2KKRCoTGY7UfJZDRKGneihUMFQG9+2DnDD0F7rOn+Mc
         MrvwXhV7e9B2OmxTOu34nMyMgQjqNyiR8iAKDRYvIeLl2yThH4qNjX66KBGnVslq+yMB
         81uhjWCJHw5yCDty0nvYJ4cy8yahBI480z0Arz21wrtEJduZw3kQY6Yac64kTs3joi1N
         7pl4mcYD9+oIJMJdYG3hl7zocaWQXE9kG/5SoAQtBEimowKgRh8x0ozAw9r9vm5YQsk5
         g5d6YeLTJzt50ADcNAYletB8Y2zSsvIK6lBPm99ArHiz7uLmCb7sDx2ssPyKliZjKsYf
         mCdA==
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:mime-version:references
         :in-reply-to:message-id:date:subject:to:from:dkim-signature;
        bh=YntvBOzEg39+aJcL6PmLNcWUrCSgb3m1hDr8782gCJc=;
        b=s/PI6YcaLZ2mV7O3y0+d6YYwMqXlVi80VOdFysDdXGhFfkpq0WJNh7bQhszW96qxu4
         AHQNNFmBCy85fnOWAdJLFz0v/du4tABmZMqmZOLJfdgmkz8dCOPlda6tiQglwo0T3RRH
         BP/HA6E99yUgTe4662xj6vNSfltVhz9duuxQ30KmeTk07o+csJ5+MrsOtcSI+OsynQHT
         +I8aad4L8m6E/X584JGhYXZ1v6UrlJSiBbBS20YK7+z1B0SAQD6CeYCCrCblw8W4mdAB
         Q7wWq4zv9bEk5DPF6PtpnnoVd7/ymFEG1OTo5bfH9hlAPhb7pSIzlvbrFnOn/6rVtnTm
         pmnQ==
ARC-Authentication-Results: i=2; mx.google.com;
       spf=pass (google.com: domain of thiago@macieira.org designates 2001:19f0:5:2221::1:3 as permitted sender) smtp.mailfrom=thiago@macieira.org
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
         :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=YntvBOzEg39+aJcL6PmLNcWUrCSgb3m1hDr8782gCJc=;
        b=ic6CplfqBZDfolJ+DvelLV3JI90IddojgFevLcKVkYQaPt867d19cx+aHx7O4DPi6T
         0BwAk04weMJpABRswF5G93aIqxRcrv2FfPMfDReBOn9PFTo3hbWWaWF4EKGsab5r5Pkn
         TJE9x8B2i8chSMx+UmmZ3J7F40ln5VvZNa5xYzZjP1nuxm9DKkXUuX/nFQkTQDstbNrl
         ajUOd9n1DfJ+/zJqPFkSYF3tV3yY9gTUGeM1C6SZgRXPuYpyorJ7lD6SnvpwGNnQwfrS
         BDvEhWLYjVeh/Bn5BZYTuV0bDMn+mSX6JuvUl07WgnhsGt7KTJxwODExstKkLz/wau2P
         CTKA==
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: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=YntvBOzEg39+aJcL6PmLNcWUrCSgb3m1hDr8782gCJc=;
        b=NyVcEQZXwokMuVEoqfOkJxPB9df3ODHYvE9nR66kA8xXcktOvJYEYoUQVuVJGV1dPx
         R7alULHBcMJOx5wzuQSrRXD+jzBobvJ1nxn5aSmjmnKnYrNWAsFBkCOU8WGnrU4YMRKD
         LBUVlEIN7w2o2Dv0oOksg4lrhzvsSp5CXh3u5AHiq+XCOoAo4EKV7RaPz38KBS9IZSzL
         ub3Px/c70RqeFyyEujNKl0yznmnqqa876Fi/8L4mkbu1JIKpKXmgnLfhYJIdp6VAwV0Q
         pZwIDke752vP2mCZT62iu6KXsgn68glySGklIWOs8yGMBJ7M9hkEgNUv/R+T/hoBwecr
         I5ow==
X-Gm-Message-State: AJcUukdO9mb0XdJ5cQ9s5e2g/nCa8KPgluyZzOaysCNxS+JfiRCNbig5
	2KtxCM6Qw18mR5Xi66KyBgsImA==
X-Google-Smtp-Source: ALg8bN7B4L+hzkF02QacjIsrZK6igjdh7OSvf3u95n5vStrlKo1wslnq2s0wvQ8kw/+HdMcQWjJT+g==
X-Received: by 2002:aed:3888:: with SMTP id k8mr1979478qte.3.1548260442529;
        Wed, 23 Jan 2019 08:20:42 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 2002:ae9:f502:: with SMTP id o2ls818892qkg.0.gmail; Wed, 23 Jan
 2019 08:20:41 -0800 (PST)
X-Received: by 2002:ae9:e804:: with SMTP id a4mr2263051qkg.99.1548260441415;
        Wed, 23 Jan 2019 08:20:41 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; t=1548260441; cv=none;
        d=google.com; s=arc-20160816;
        b=EkljsOlkN8yzG71zYaMYa0Au4c7Cdar/GRwZsmXLOJntT6SHMXqlIk0kYSrD2FYKbL
         ACE5nRk5xCRs1warPiOeK42K05jvB4OejHgPhg/h1ZI9di9vBIywcIn27ZgwsfYYTHY7
         jIqmzxxB9KjRai7SnjVwCI/stYHJyUPuRPL+PLIjeH595dY/HN5UCvPf41urSFgqIW3a
         90nLPQMU2O1OrXvuygAO2/ZCPRLPOCbm2ypugYr0MO7fD8BbavTRKK7bLpOcAwSAPheg
         jjnYqt5yR4h2f112J22p5huxKMa5CELOxCcQDUh5jKP7G6Cvw2sYFFSNPqvX2kxO1LKs
         rZEg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=content-transfer-encoding:mime-version:references:in-reply-to
         :message-id:date:subject:to:from;
        bh=WONrTJhLd0CqJeMQwhlhLQxAG4S5i59ITHBbHO/PXE0=;
        b=gZhHQhwB51ZFnr2Ac9tWZv0V0gTZIYraLm9dF5YH2aBwpyV96UrwGbmyN+AKxlMAGu
         1NXHhWkHwddTCwxIFLpkg+KHxcjAosZ9OGlDMKkU4eTkJWe6RkS664fQKEoouMEAMj7e
         +coS0U3Ta5hQbM+1jt8g6eto2fenum6II2VGPGVEm6oGwCXaZCiXgDktpV/qC8TpFXf0
         XlJlPQLmnNJMD1UkwtCdBgUvf7idYtUsxExcvqzhG/DKoPLV0ujY5kLO6K6pPZi7RPop
         jkIG9LBAQZwF0xAqhRUXOplcW8e4A1HtXlg2HZdIf6qTEO2mPAFi/qYoUk47zHBe07lO
         rdnw==
ARC-Authentication-Results: i=1; mx.google.com;
       spf=pass (google.com: domain of thiago@macieira.org designates 2001:19f0:5:2221::1:3 as permitted sender) smtp.mailfrom=thiago@macieira.org
Original-Received: from smtp.macieira.info (smtp.macieira.info. [2001:19f0:5:2221::1:3])
        by mx.google.com with ESMTPS id w4si473714qtn.346.2019.01.23.08.20.41
        for <std-proposals@isocpp.org>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Wed, 23 Jan 2019 08:20:41 -0800 (PST)
Received-SPF: pass (google.com: domain of thiago@macieira.org designates 2001:19f0:5:2221::1:3 as permitted sender) client-ip=2001:19f0:5:2221::1:3;
Original-Received: from tjmaciei-mobl1.localnet (unknown [IPv6:2601:1c0:4500:d000:8d5:55e5:2557:c91e])
	by smtp.macieira.info (Postfix) with ESMTPSA id 0252521F7B
	for <std-proposals@isocpp.org>; Wed, 23 Jan 2019 08:20:39 -0800 (PST)
In-Reply-To: <6a72db2a-932d-4f79-ab68-7c1424e93b9d@isocpp.org>
X-Original-Sender: thiago@macieira.org
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of thiago@macieira.org designates 2001:19f0:5:2221::1:3 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:41386
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/41386>

On Wednesday, 23 January 2019 07:58:54 PST p groarke wrote:
> template <class T>
> struct test {
>     int val() const;
> 
> private:
>     int val_ { 42 };
>     T t;
> };

Explain how, given the above, the compiler can decide whether test::val() 
depends on T or not.

Remember: this is all the compiler sees when compiling other translation units 
that include this header.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center



-- 
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/7140056.skhr9ZE8Xc%40tjmaciei-mobl1.

.
