220 31499 <8559627.YBS2pS8IRY@tjmaciei-mobl1> article
Path: news.gmane.org!.POSTED!not-for-mail
From: Thiago Macieira <thiago@macieira.org>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: overloading by constexpr (round 2?)
Date: Tue, 07 Mar 2017 22:13:58 +0100
Lines: 30
Approved: news@gmane.org
Message-ID: <8559627.YBS2pS8IRY@tjmaciei-mobl1>
References: <CAFdMc-2q3KpV+m5cfWr6b02XmHVUdxsNCNAVFG+mzCv0QY7ZRg@mail.gmail.com> <2141398.ZslfniALhC@tjmaciei-mobl1> <c7359391-244f-4643-8bc3-b521f2462426@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
Content-Transfer-Encoding: quoted-printable
X-Trace: blaine.gmane.org 1488921251 13539 195.159.176.226 (7 Mar 2017 21:14:11 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Tue, 7 Mar 2017 21:14:11 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCB4TK757YBRBF6F7TCQKGQEXLSYSBY@isocpp.org Tue Mar 07 22:14:07 2017
Return-path: <std-proposals+bncBCB4TK757YBRBF6F7TCQKGQEXLSYSBY@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-qk0-f198.google.com ([209.85.220.198])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBCB4TK757YBRBF6F7TCQKGQEXLSYSBY@isocpp.org>)
	id 1clMQk-0002fF-AV
	for gclcip-std-proposals@m.gmane.org; Tue, 07 Mar 2017 22:14:02 +0100
Original-Received: by mail-qk0-f198.google.com with SMTP id o135sf29094135qke.3
        for <gclcip-std-proposals@m.gmane.org>; Tue, 07 Mar 2017 13:14:08 -0800 (PST)
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
         :content-transfer-encoding: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=hF5qYRFB52R5+cyyoe/h07xqkTCkOq9Eoljp661ikEQ=;
        b=wcbUjv3GMnKCNA3HLYlFurzQnZ/wxquUGqAvaY0LyghPG5UqilKgVYjS85aEiiPpTf
         4pc26GWrgQM7SsITV+L1A+B4/sz334c/qXbtmIOYkFVURY7nj23rZax5XUj8tnbE8GET
         tXo/e/9s8tyFMLtn7EgvsvlgS6aD+o2/HQSOyR4eDdD9Ji4NZdtp4sfSChQx8HbbisZG
         UVuDloPFcqyYyMcu6PL80ieVfYZxStB4XVObqrw1INFm04A5zHKc3kGLMg/HRXwaPW4a
         RlP4g1yXwmQFSZ2BQ/oZ7CcKWgLTMl4ncXh4bu1TGYlgIZtNE+xc81Ynd9ZB1N0LFE8V
         HYkA==
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:content-transfer-encoding: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=hF5qYRFB52R5+cyyoe/h07xqkTCkOq9Eoljp661ikEQ=;
        b=psifSgRBXgCYjJs3g0zrAUN1u1XjmFKFHwnwqcILe3R8HeFBOa5omKuemoYlgCIzVn
         Q58zsPpTYVJMCBwOeX9QdKtGeZoZfXyzWcyfNked3i48+rJN33I60luh5o+ZdYNxec6s
         8kqReNKJzc5Ex+9Ki72F86Cd1m94ll1LWkqt4DUBZvboJ/Gr2dRdDCFR5+NJvcdq7rYj
         WMvLENREmJvVCadg87oBOsjZsXMsJgdyIB1Fvt3TX4fZG4FU53iNUBNophnrMQTnioA1
         THJcaN2CYUmX8peGOXRzmI+nekoBrdBD2g+yIzd2U4bQdI5q+KTJ7YroBXG5sUDv9Ui3
         yjM 
X-Gm-Message-State: AMke39khEYCLyQf3dcfdeLaS7G/p0kzsSAnCfce79zB2jN9FbwYJpSMNEOEE/cZGmIO5+A==
X-Received: by 10.129.53.133 with SMTP id c127mr1208970ywa.15.1488921240692;
        Tue, 07 Mar 2017 13:14:00 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.157.4.119 with SMTP id 110ls1492864otc.44.gmail; Tue, 07 Mar
 2017 13:13:59 -0800 (PST)
X-Received: by 10.55.167.148 with SMTP id q142mr3211163qke.72.1488921239674;
        Tue, 07 Mar 2017 13:13:59 -0800 (PST)
Original-Received: from gondolin.macieira.info (gondolin.macieira.info. [78.47.120.188])
        by mx.google.com with ESMTP id b38si1110588qte.119.2017.03.07.13.13.59
        for <std-proposals@isocpp.org>;
        Tue, 07 Mar 2017 13:13:59 -0800 (PST)
Received-SPF: pass (google.com: domain of thiago@macieira.org designates 78.47.120.188 as permitted sender) client-ip=78.47.120.188;
Original-Received: from tjmaciei-mobl1.localnet (unknown [213.208.239.114])
	by gondolin.macieira.info (Postfix) with ESMTPSA id DC9D711B3FF
	for <std-proposals@isocpp.org>; Tue,  7 Mar 2017 13:13:58 -0800 (PST)
In-Reply-To: <c7359391-244f-4643-8bc3-b521f2462426@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 78.47.120.188 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:31499
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/31499>

Em ter=C3=A7a-feira, 7 de mar=C3=A7o de 2017, =C3=A0s 16:04:46 CET, Jean-Ma=
rc Bourguet=20
escreveu:
> AFAIK std::strlen and ::strlen designate the same function (See [headers/=
4]
> and
> [depr.c.headers/4]).

I know they do. My point is that we have a precedent for diverging from the=
 C=20
functions by adding overloads for what people will actually use.

std::abs is one such example. Another example of divergence is adding const=
 to=20
some other string functions and overloading them with the ones without cons=
t.

--=20
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center

--=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.
To view this discussion on the web visit https://groups.google.com/a/isocpp=
..org/d/msgid/std-proposals/8559627.YBS2pS8IRY%40tjmaciei-mobl1.

.
