220 9010 <6822200.TbR7qDM6I7@tjmaciei-mobl4> article
Path: news.gmane.org!not-for-mail
From: Thiago Macieira <thiago@macieira.info>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Re: Comments on 2d api for c++ N3888.pdf
Date: Sun, 02 Feb 2014 20:54:32 -0800
Lines: 38
Approved: news@gmane.org
Message-ID: <6822200.TbR7qDM6I7@tjmaciei-mobl4>
References: <9105f9b2-e15d-4bf8-a4a1-65ebc3657eb0@isocpp.org> <1499411.eehuFWK7Yv@tjmaciei-mobl2> <8a29e404-8218-4853-9db9-d4030709ab43@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: ger.gmane.org 1391403269 20344 80.91.229.3 (3 Feb 2014 04:54:29 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Mon, 3 Feb 2014 04:54:29 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCR2N7PQ4ANRBDOCXSLQKGQELGMKOTI@isocpp.org Mon Feb 03 05:54:38 2014
Return-path: <std-proposals+bncBCR2N7PQ4ANRBDOCXSLQKGQELGMKOTI@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-la0-f70.google.com ([209.85.215.70])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCR2N7PQ4ANRBDOCXSLQKGQELGMKOTI@isocpp.org>)
	id 1WABYM-0000qC-ED
	for gclcip-std-proposals@m.gmane.org; Mon, 03 Feb 2014 05:54:38 +0100
Original-Received: by mail-la0-f70.google.com with SMTP id hr13sf4961812lab.9
        for <gclcip-std-proposals@m.gmane.org>; Sun, 02 Feb 2014 20:54:38 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:from:to:subject:date:message-id:user-agent
         :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:content-transfer-encoding:content-type;
        bh=3SPXdxS9QTbhM8//F4L9FNPyLJ57n5XWDppjxcY4Qj0=;
        b=WOYhZHG5qOvnWL5OH9L70pkDIw+f9zAPvty9ePZGuNZnQiiUAjrUEaU53eMZQh+Ent
         LvjTxN0w7mDB34wGwoHk0DZpR1IJnTf7O/8Ks/XB/9JQmZWTCccmCr/oITrt06zZd8W7
         43b/NsXj7QfL7fkpRhDX3vyu1EAvUkhI8vdcSif92KIT0YNjwlg2ZJY4AGFRCJKuvkUZ
         bpd0xq/v78Ugb4d13vAYKdrz9AgI3EhpnrpjMSIeAEuNrjc9Q4qT2uk2zQyCiVF/+/xk
         rezNahQ3nP6WvE8pz3OHJ2akry+zfTcx/6hk/KbwSeCeXa5yaQ9bFCZYoaxSrQk+jEgH
         6n/ 
X-Gm-Message-State: ALoCoQka0RgmvbQL0uErPmKUWzddY08bo5W3mN+t5Uzfc/z0EJYsjwwe+JHYEWSKgDSE+m+GYJH3
X-Received: by 10.152.216.35 with SMTP id on3mr15641511lac.6.1391403277943;
        Sun, 02 Feb 2014 20:54:37 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.180.78.133 with SMTP id b5ls380998wix.33.gmail; Sun, 02 Feb
 2014 20:54:36 -0800 (PST)
X-Received: by 10.14.179.129 with SMTP id h1mr35161109eem.26.1391403276643;
        Sun, 02 Feb 2014 20:54:36 -0800 (PST)
Original-Received: from gondolin.macieira.info (gondolin.macieira.info. [2a01:4f8:d13:f81:21c:14ff:fe01:12a3])
        by mx.google.com with ESMTP id s6si33064831eel.56.2014.02.02.20.54.36
        for <std-proposals@isocpp.org>;
        Sun, 02 Feb 2014 20:54:36 -0800 (PST)
Received-SPF: pass (google.com: domain of thiago@macieira.info designates 2a01:4f8:d13:f81:21c:14ff:fe01:12a3 as permitted sender) client-ip=2a01:4f8:d13:f81:21c:14ff:fe01:12a3;
Original-Received: from tjmaciei-mobl4.localnet (unknown [IPv6:2601:7:1c80:1ec:450c:b6e:54b6:e45c])
	by gondolin.macieira.info (Postfix) with ESMTPSA id 21ECE11A709
	for <std-proposals@isocpp.org>; Sun,  2 Feb 2014 20:54:36 -0800 (PST)
User-Agent: KMail/4.11.4 (Linux/3.11.6-4-desktop; KDE/4.11.4; x86_64; ; )
In-Reply-To: <8a29e404-8218-4853-9db9-d4030709ab43@isocpp.org>
X-Original-Sender: thiago@macieira.info
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of thiago@macieira.info designates 2a01:4f8:d13:f81:21c:14ff:fe01:12a3
 as permitted sender) smtp.mail=thiago@macieira.info
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: <http://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <http://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <http://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:std-proposals+subscribe@isocpp.org>
List-Unsubscribe: <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:9010
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/9010>

Em dom 02 fev 2014, =E0s 20:14:20, Bengt Gustafsson escreveu:
> About method overloads that take point or rect types. I now came to the
> conclusion that we should have a template overload to cater for "all" typ=
es
> of point classes the user of the library may have on hand. Can this be
> done? Yes:=20

Should it be done? IMHO, no.

Making an entirely-template API means potentially a lot of code bloat. It=
=20
means all of the actual API is implemented in private APIs, called by inlin=
e=20
template methods.

> C++ provides many tools, we must try to use all of them appropriately!

Appropriately also implies that there are conditions under which some tools=
=20
must not be used. I believe this to be one of them.

--=20
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

--=20

---=20
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 e=
mail to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposa=
ls/.

.
