220 31489 <c7359391-244f-4643-8bc3-b521f2462426@isocpp.org> article
Path: news.gmane.org!.POSTED!not-for-mail
From: Jean-Marc Bourguet <jm.bourguet@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: overloading by constexpr (round 2?)
Date: Tue, 7 Mar 2017 07:04:46 -0800 (PST)
Lines: 87
Approved: news@gmane.org
Message-ID: <c7359391-244f-4643-8bc3-b521f2462426@isocpp.org>
References: <CAFdMc-2q3KpV+m5cfWr6b02XmHVUdxsNCNAVFG+mzCv0QY7ZRg@mail.gmail.com> <a0f4db51-ab03-4173-979e-52613b9577a2@isocpp.org> <e7ecf684-a495-41ad-838a-50599c6cddca@isocpp.org>
 <2141398.ZslfniALhC@tjmaciei-mobl1>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_2155_1823086820.1488899087010"
X-Trace: blaine.gmane.org 1488899102 10643 195.159.176.226 (7 Mar 2017 15:05:02 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Tue, 7 Mar 2017 15:05:02 +0000 (UTC)
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBC56XVMTUYPRBD4Y7PCQKGQESXUGYMI@isocpp.org Tue Mar 07 16:04:48 2017
Return-path: <std-proposals+bncBC56XVMTUYPRBD4Y7PCQKGQESXUGYMI@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-pg0-f70.google.com ([74.125.83.70])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBC56XVMTUYPRBD4Y7PCQKGQESXUGYMI@isocpp.org>)
	id 1clGfL-0001If-45
	for gclcip-std-proposals@m.gmane.org; Tue, 07 Mar 2017 16:04:43 +0100
Original-Received: by mail-pg0-f70.google.com with SMTP id 187sf6851606pgb.3
        for <gclcip-std-proposals@m.gmane.org>; Tue, 07 Mar 2017 07:04:49 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=date:from:to:message-id:in-reply-to:references:subject:mime-version
         :x-original-sender:reply-to:precedence:mailing-list:list-id
         :x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=kV27z4pi7wOf8mtfhHk7fwUH2SwWyWsRN2roHdDc4Q4=;
        b=phwiwOHK5H8J/QBlmhelT5y1GJhAudus9WHUFq8cBCjMxNG3Dmf78NVfKWh6f6pZeP
         mcrGBvXN93CK/+7qRTISwI73lAF+F8yspqFRm7o9anIW6JSmgaCIQVXAbGhbCDRM+Syt
         9K1xpHu8fcobzqMScozxF+W4sx4DU46hc6pUHH61/vfvgj+eIFfd1GADAKpKVuKRzpro
         bVfTbBsR/anbITpFb+fuazwGS/qNxbx9v3BBG882HM1AtNxCFxBKX8wLAOROf80lXLPc
         hi7vp7hAjgrF6aeY8av+Nu7cFxEVb3XqLE27PYP4CVyDhF5N+uHxCnxTsLdA+Z+QVwip
         +81w==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=date:from:to:message-id:in-reply-to:references:subject:mime-version
         :x-original-sender:reply-to:precedence:mailing-list:list-id
         :x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=kV27z4pi7wOf8mtfhHk7fwUH2SwWyWsRN2roHdDc4Q4=;
        b=I8RUq+788jy3OLKq8unQVpQw5og9v+5BtS2iecPIrC2BiJYP+gjF38oh130nju3wgh
         Wm0Yk1CJECIaAlErMKZSZfjbSIJvGElj+nya8rMfR4igyvUZ/uW5KxVqXZwWDvgg1xaZ
         luRs9zSwikrmeAY6Uk/EbWMPVSSFTYRm5+pQ3SetSlgfjVZ1rWTCdGyIljdlEftVC/+Y
         1aXrVm7PfCLUVtIOdDT66qy4EodIsSAaEisSe9b2r3/VdFHBHLCtAL4bd3Hg2Q98gZCw
         eSbsiY3YD669UntHAvNdj1NMfiVCBgD7Vm2kzbaeHfCoFFqVVXdTvb+8WD7/7TzOqEtV
         r0JQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:date:from:to:message-id:in-reply-to:references
         :subject:mime-version:x-original-sender:reply-to:precedence
         :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help
         :list-archive:list-subscribe:list-unsubscribe;
        bh=kV27z4pi7wOf8mtfhHk7fwUH2SwWyWsRN2roHdDc4Q4=;
        b=mQSqQfiNcTKtENRVpxaSzn5zaLrptysJDlkBH36lnSep+zIsUeByNmBwweEDZAMiLV
         RD2zlJDxFXM1xYXnhrvzmerC9qZjmasMtqGwOg16xfykg5sebdu5yvZur+TS6YepSRRu
         NwlyTnbUafqNAr212cFx9UL3+O9Ley1GK0LTMkYHBUwXTGWuCE0yiZRL3yQ/CwlrBDqC
         7bM9v54VCkvxB+5TysDEhTa8IGHBEVOJOtIxkT9IiHsjl7pFycUhuIdTXd4hyWPoRvm+
         x/NV8M+guMyOyq3Fy5ud5bbfQhwDQ+Z2dEwerr32U6Yw6rN5yGpY0aBO6rss+U9Rj7DN
         hZPw==
X-Gm-Message-State: AMke39k7f7hZx9EeT/U6YO5y8qxeevG0SXzzYF25nEpvGqy6nZlYqwoaxpSkLpEgt0R4Rg==
X-Received: by 10.99.151.10 with SMTP id n10mr373949pge.9.1488899088922;
        Tue, 07 Mar 2017 07:04:48 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.157.73.132 with SMTP id g4ls598635otf.39.gmail; Tue, 07 Mar
 2017 07:04:47 -0800 (PST)
X-Received: by 10.157.68.202 with SMTP id p10mr112051otg.19.1488899087653;
        Tue, 07 Mar 2017 07:04:47 -0800 (PST)
In-Reply-To: <2141398.ZslfniALhC@tjmaciei-mobl1>
X-Original-Sender: JM.Bourguet@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:31489
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/31489>

------=_Part_2155_1823086820.1488899087010
Content-Type: multipart/alternative; 
	boundary="----=_Part_2156_1207161964.1488899087010"

------=_Part_2156_1207161964.1488899087010
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Le mardi 7 mars 2017 15:18:41 UTC+1, Thiago Macieira a =C3=A9crit :
>
> Em ter=C3=A7a-feira, 7 de mar=C3=A7o de 2017, =C3=A0s 01:06:47 CET, Nicol=
 Bolas escreveu:=20
> > That being said, even with the tools in place, I think it's a bad idea=
=20
> to=20
> > take C standard library functions and give them C++ features like this.=
=20
> It=20
> > would be much better for us to add C++ versions of these functions; tha=
t=20
> > way, we can give them whatever C++ features we feel are warranted.=20
>
> std::strlen is a C++ function; ::strlen is the C function.=20
>

AFAIK std::strlen and ::strlen designate the same function (See [headers/4]=
=20
and=20
[depr.c.headers/4]).

Yours,

--=20
Jean-Marc

--=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/c7359391-244f-4643-8bc3-b521f2462426%40isocpp.or=
g.

------=_Part_2156_1207161964.1488899087010
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Le mardi 7 mars 2017 15:18:41 UTC+1, Thiago Macieira a =C3=
=A9crit=C2=A0:<blockquote class=3D"gmail_quote" style=3D"margin: 0;margin-l=
eft: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">Em ter=C3=A7a-fe=
ira, 7 de mar=C3=A7o de 2017, =C3=A0s 01:06:47 CET, Nicol Bolas escreveu:
<br>&gt; That being said, even with the tools in place, I think it&#39;s a =
bad idea to
<br>&gt; take C standard library functions and give them C++ features like =
this. It
<br>&gt; would be much better for us to add C++ versions of these functions=
; that
<br>&gt; way, we can give them whatever C++ features we feel are warranted.
<br>
<br>std::strlen is a C++ function; ::strlen is the C function.
<br></blockquote><div><br></div><div>AFAIK std::strlen and ::strlen designa=
te the same function (See [headers/4] and=C2=A0</div><div>[depr.c.headers/4=
]).</div><div><br></div><div>Yours,</div><div><br></div><div>--=C2=A0</div>=
<div>Jean-Marc</div></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:std-proposals+unsubscribe@isocpp.org">std-proposa=
ls+unsubscribe@isocpp.org</a>.<br />
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org">std-proposals@isocpp.org</a>.<br />
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/a/isocpp.org/d/msgid/std-proposals/c7359391-244f-4643-8bc3-b521f2462426%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/c7359391-244f-4643-8bc3-b521f2462426=
%40isocpp.org</a>.<br />

------=_Part_2156_1207161964.1488899087010--

------=_Part_2155_1823086820.1488899087010--

.
