220 16823 <54F9FA28.70405@coverity.com> article
Path: news.gmane.org!not-for-mail
From: Tom Honermann <thonermann@coverity.com>
Newsgroups: gmane.comp.lang.c++.isocpp.general,gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Re: [c++std-core-27227] Re: An implementation of
 enhanced auto deduction and abbreviated template syntax using Clang
Date: Fri, 6 Mar 2015 14:04:08 -0500
Lines: 32
Approved: news@gmane.org
Message-ID: <54F9FA28.70405@coverity.com>
References: <CABsSThrwV0UCbrmoxoeQUskOjvF2+RX5ctpSq3dPMPxm=t6mww@mail.gmail.com> <e0666226-5ebe-462b-9803-b70bd11b9491@isocpp.org> <BLUPR03MB455C81E71E81F839F9326C9B81C0@BLUPR03MB455.namprd03.prod.outlook.com> <dfb06a45-bb23-496b-bbf8-c31a3f196b72@isocpp.org> <CAJcCCPNSKOeisxU-WnNaz-RquCL_KPjQO3w3tnyi7pCcS2XQeg@mail.gmail.com> <465969eb-2f8b-41bb-91af-d8a9e22985e7@isocpp.org> <54F9ED4C.2030108@stroustrup.com> <CA+cyFgtDHXT7Q45gO3bwVdQY50aD+4S2t0ouwuQtEpVsZfXe1Q@mail.gmail.com> <CAGg_6+MgACRsS24ScXXsP8ognYwLyfU91W8=ueOGWLEGyOXK2A@mail.gmail.com>
Reply-To: std-discussion@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
X-Trace: ger.gmane.org 1425668666 14218 80.91.229.3 (6 Mar 2015 19:04:26 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Fri, 6 Mar 2015 19:04:26 +0000 (UTC)
To: <std-discussion@isocpp.org>, "c++std-core@accu.org"
	<c++std-core@accu.org>, "std-proposals@isocpp.org" <std-proposals@isocpp.org>
Original-X-From: std-discussion+bncBDBNXSHG6UDBBMHU46TQKGQEPLTBWCQ@isocpp.org Fri Mar 06 20:04:17 2015
Return-path: <std-discussion+bncBDBNXSHG6UDBBMHU46TQKGQEPLTBWCQ@isocpp.org>
Envelope-to: gclcig-std-discussion@m.gmane.org
Original-Received: from mail-pd0-f197.google.com ([209.85.192.197])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-discussion+bncBDBNXSHG6UDBBMHU46TQKGQEPLTBWCQ@isocpp.org>)
	id 1YTxXl-0006DP-KK
	for gclcig-std-discussion@m.gmane.org; Fri, 06 Mar 2015 20:04:17 +0100
Original-Received: by pdjy10 with SMTP id y10sf34029248pdj.3
        for <gclcig-std-discussion@m.gmane.org>; Fri, 06 Mar 2015 11:04:16 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to
         :subject:references:in-reply-to:content-type: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=hc6Ew/fny3NaLHL04SidlrEFXdhAGz+k/BU7bbYGQ54=;
        b=htzdiwGWWlBjMY6ku8qOo3ucOuOqYHb/+gpfjvEocP3lgV4jcy+SHiTtyK/NTLr1wk
         VZdcU9jpxjh5ZgNX/W6yPNsqznI/exIjwNSiXT7Q2Rx+5DURGleLqNEYXQXVuyAb4/RO
         2C2gAqfVNNEHxBxRypQTMiT1nberA0pjnSrpCK1WEkRxpCPFzXyzAHmpcrQVILNcoMYy
         oZ5+ByG6rsTMkxCRw4eGFQDMRncfGDrZ0t0PpqcRIKvNigv3koomG27ssalSHLHmUwQe
         wU6c2fCJRX8p6kGS0jFm3D6X1zXi9p9+hJ8Z/B+HUx63SHsldRN9PZ4T9AclpST3NcY4
         IJ2w==
X-Gm-Message-State: ALoCoQlgk1BZGv7c7nixhbJpJHREmjyIzjn9ctcNZBql+cdroHhsDA/6HjVb7PkxK4iwIggKUjbP
X-Received: by 10.68.197.137 with SMTP id iu9mr15161029pbc.5.1425668656689;
        Fri, 06 Mar 2015 11:04:16 -0800 (PST)
X-BeenThere: std-discussion@isocpp.org
Original-Received: by 10.140.28.183 with SMTP id 52ls442424qgz.49.gmail; Fri, 06 Mar
 2015 11:04:16 -0800 (PST)
X-Received: by 10.229.184.66 with SMTP id cj2mr21576504qcb.6.1425668656136;
        Fri, 06 Mar 2015 11:04:16 -0800 (PST)
Original-Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0145.outbound.protection.outlook.com. [65.55.169.145])
        by mx.google.com with ESMTPS id j34si10182788qgd.49.2015.03.06.11.04.15
        (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);
        Fri, 06 Mar 2015 11:04:16 -0800 (PST)
Received-SPF: pass (google.com: domain of thonermann@coverity.com designates 65.55.169.145 as permitted sender) client-ip=65.55.169.145;
Original-Received: from DM2PR05MB718.namprd05.prod.outlook.com (10.141.177.147) by
 DM2PR05MB431.namprd05.prod.outlook.com (10.141.104.26) with Microsoft SMTP
 Server (TLS) id 15.1.106.15; Fri, 6 Mar 2015 19:04:15 +0000
Original-Received: from [192.168.1.13] (173.53.22.182) by
 DM2PR05MB718.namprd05.prod.outlook.com (10.141.177.147) with Microsoft SMTP
 Server (TLS) id 15.1.106.15; Fri, 6 Mar 2015 19:04:13 +0000
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0
In-Reply-To: <CAGg_6+MgACRsS24ScXXsP8ognYwLyfU91W8=ueOGWLEGyOXK2A@mail.gmail.com>
X-Originating-IP: [173.53.22.182]
X-ClientProxiedBy: DM2PR09CA0036.namprd09.prod.outlook.com (25.160.127.46) To
 DM2PR05MB718.namprd05.prod.outlook.com (10.141.177.147)
X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DM2PR05MB718;UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DM2PR05MB431;
X-Microsoft-Antispam-PRVS: <DM2PR05MB71845A1F620FFE841773DB2BA1C0@DM2PR05MB718.namprd05.prod.outlook.com>
X-Forefront-Antispam-Report: BMV:1;SFV:NSPM;SFS:(10019020)(6049001)(6009001)(51444003)(479174004)(377454003)(24454002)(51704005)(65816999)(76176999)(50986999)(87976001)(86362001)(83506001)(93886004)(77096005)(54356999)(2501003)(122386002)(2950100001)(230783001)(117156001)(107886001)(23676002)(36756003)(33656002)(62966003)(47776003)(40100003)(50466002)(64126003)(46102003)(65956001)(66066001)(77156002)(92566002)(42186005);DIR:OUT;SFP:1102;SCL:1;SRVR:DM2PR05MB718;H:[192.168.1.13];FPR:;SPF:None;MLV:sfv;LANG:en;
X-Exchange-Antispam-Report-Test: UriScan:;
X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(5005006)(5002007);SRVR:DM2PR05MB718;BCL:0;PCL:0;RULEID:;SRVR:DM2PR05MB718;
X-Forefront-PRVS: 05079D8470
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Mar 2015 19:04:13.2924 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR05MB718
X-OriginatorOrg: coverity.com
X-Original-Sender: thonermann@coverity.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of thonermann@coverity.com designates 65.55.169.145 as permitted
 sender) smtp.mail=thonermann@coverity.com
Precedence: list
Mailing-list: list std-discussion@isocpp.org; contact std-discussion+owners@isocpp.org
List-ID: <std-discussion.isocpp.org>
X-Google-Group-Id: 495566654649
List-Post: <http://groups.google.com/a/isocpp.org/group/std-discussion/post>, <mailto:std-discussion@isocpp.org>
List-Help: <http://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-discussion+help@isocpp.org>
List-Archive: <http://groups.google.com/a/isocpp.org/group/std-discussion/>
List-Subscribe: <http://groups.google.com/a/isocpp.org/group/std-discussion/subscribe>,
 <mailto:std-discussion+subscribe@isocpp.org>
List-Unsubscribe: <mailto:googlegroups-manage+495566654649+unsubscribe@googlegroups.com>,
 <http://groups.google.com/a/isocpp.org/group/std-discussion/subscribe>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.general:5027 gmane.comp.lang.c++.isocpp.proposals:16823
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.general/5027>

On 03/06/2015 01:42 PM, Nevin Liber wrote:
> There are two audiences (As Andrew pointed out in his reply to my
> previous message):
>
> 1.  The person calling the function.  For the most part, they won't know
> or care whether or not it is a template function; they just include the
> correct header and call it.
>
> 2.  The person defining the function.  They have to know whether or not
> it is a template or a specific concrete type, but they had to know that
> anyway to write the function.

I would argue for a third audience (though arguably a subset of the 2nd 
case above):

3.  The person modifying the function.  They have to know whether or not 
it is a template or a specific concrete type.

We can say that, if a person changes a function without first 
determining that and causes a regression, well shame on them.  I think 
that is fair.  But I think we can do better by offering a little assistance.

Tom.

-- 

--- 
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-discussion+unsubscribe@isocpp.org.
To post to this group, send email to std-discussion@isocpp.org.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-discussion/.

.
