220 31640 <a752b345-e365-4c05-a548-7782b19b196d@isocpp.org> article
Path: news.gmane.org!.POSTED!not-for-mail
From: Nicol Bolas <jmckesson@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: stoi (stoll ...) accept string_view [insted of] string
Date: Wed, 15 Mar 2017 09:08:05 -0700 (PDT)
Lines: 56
Approved: news@gmane.org
Message-ID: <a752b345-e365-4c05-a548-7782b19b196d@isocpp.org>
References: <2cd1e281-4a9f-4cbe-b04d-7f5739b5cf6f@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_4528_589534026.1489594086087"
X-Trace: blaine.gmane.org 1489594094 32581 195.159.176.226 (15 Mar 2017 16:08:14 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Wed, 15 Mar 2017 16:08:14 +0000 (UTC)
Cc: yanp.bugz@gmail.com
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBCEKFTV6ZUMBBZWNUXDAKGQEXUVYOJA@isocpp.org Wed Mar 15 17:08:09 2017
Return-path: <std-proposals+bncBCEKFTV6ZUMBBZWNUXDAKGQEXUVYOJA@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-ot0-f199.google.com ([74.125.82.199])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBCEKFTV6ZUMBBZWNUXDAKGQEXUVYOJA@isocpp.org>)
	id 1coBT4-0007P7-RM
	for gclcip-std-proposals@m.gmane.org; Wed, 15 Mar 2017 17:08:07 +0100
Original-Received: by mail-ot0-f199.google.com with SMTP id a12sf50344320ota.1
        for <gclcip-std-proposals@m.gmane.org>; Wed, 15 Mar 2017 09:08:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=date:from:to:cc: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=Sn5cYK9smGFxpckIQo6bzkdHp5uo0mUNC/7s7c/n3YA=;
        b=iiVBCiWrMH0hgGfUhro7XJUvRNsr9ee8kiT2aiaULxF1u05FOgu82CgWfTskbe1Zzq
         SR8IIRePpHS9K/iULE1aM1+92lX3csvH/C1E1K5P27kbyCBdyW21qei/r43EizjqRsIA
         s19KzIb+xx5gif9SvH7ntJZqqXa2SGj7hrzKmi1trQ+jjWLZ9nf71/CH9gDK0uZKhJ/P
         3wMbhmBc9ezxAxisnhGVzvLeuUq06BzsRVZjHytEuJNMtqMLmQxu/XKFq1EojEvKBFrG
         mNMyn/T4f0xnr8WDlYEhYsjye2/VK6he1UNEUcXwlOWjzCm4HWVw6J3IK6eZMwGErrEc
         fIyg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=date:from:to:cc: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=Sn5cYK9smGFxpckIQo6bzkdHp5uo0mUNC/7s7c/n3YA=;
        b=EwlGjECoqRbFpKZo1SPXBRpYs5uwaZWVwVPOklK2GOPquc+Iqgp6yZQCv78hyNqoUd
         GUdgZdqrndrPfpdxLLS0ehV7r/2e6MzXuORLHenifUPkLOJYw9AKjv17k7CD+wdeii7c
         D3xMj6qS4pRxX0h8N3Wb1Owa/o9N1Fd9Btp0ktg7AICeglu9I1ht2HVW/UKbLMekMmqx
         EDVnFG1PL4xpqpLUFkT7r8o4y2QWv8ze3nFWHnjVeAbfE+DHPtfyMpW+SOHMIiVL0SlG
         T2DoCEfCHRfsEVWmyVIxr+8kMvN/x6497Kh19Qx5+sILyCJIZZ5CkCZANdyYyfutfdRt
         193g==
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:cc: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=Sn5cYK9smGFxpckIQo6bzkdHp5uo0mUNC/7s7c/n3YA=;
        b=gLN6jJ5Xerk3ki8EI2BvANUcAQIq3VF9Pscx8p1QSdlHHhit1W4tcrcNylSCkTBqpV
         thymjK8rEKJs+yT/tNtIhkb57DhIgBarEG39wOdtfMnyvrekpLkD83zBz70PkB/Fhnkl
         Lgo28joq+vtYiPqAnIjgfIMyryWxizB64B7qUnZvFTg3SxSFeKbsqsHQVmeS3xv7qkh6
         c45FR6siBHyXTQXwAu2gHAGlxsLuqBTW58xsak5wKzhTU09M8fyvkjkfGTGrig1xIiJF
         01Ik8rN36etnIE/jtujlxjYyHY4TJe+BCMs+UPCqrzZRcvYdU2UIRWeG/46k6lvoiAop
         HIsA==
X-Gm-Message-State: AFeK/H2XGUYQ5iGy5bzMYUKPuw5c5NLcIV+L9ctTgSGI8xQZJ7sEGvBQENYwNrwDGL0AkQ==
X-Received: by 10.157.0.74 with SMTP id 68mr1869763ota.133.1489594087461;
        Wed, 15 Mar 2017 09:08:07 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.157.41.33 with SMTP id d30ls2601293otb.17.gmail; Wed, 15 Mar
 2017 09:08:06 -0700 (PDT)
X-Received: by 10.157.80.16 with SMTP id a16mr449806oth.3.1489594086573;
        Wed, 15 Mar 2017 09:08:06 -0700 (PDT)
In-Reply-To: <2cd1e281-4a9f-4cbe-b04d-7f5739b5cf6f@isocpp.org>
X-Original-Sender: jmckesson@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:31640
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/31640>

------=_Part_4528_589534026.1489594086087
Content-Type: multipart/alternative; 
	boundary="----=_Part_4529_365815066.1489594086088"

------=_Part_4529_365815066.1489594086088
Content-Type: text/plain; charset=UTF-8

On Wednesday, March 15, 2017 at 11:54:57 AM UTC-4, yanp...@gmail.com wrote:
>
> I suggest adding string_view overloads to this group of functions. I guess 
> the reason why is obvious.
>

Personally, I'd rather have `string_view` overloads of the `from_chars` 
functions <http://en.cppreference.com/w/cpp/utility/from_chars>. Let `stoi` 
and its ilk die.

-- 
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/a752b345-e365-4c05-a548-7782b19b196d%40isocpp.org.

------=_Part_4529_365815066.1489594086088
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">On Wednesday, March 15, 2017 at 11:54:57 AM UTC-4, yanp...=
@gmail.com wrote:<blockquote class=3D"gmail_quote" style=3D"margin: 0;margi=
n-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir=3D"l=
tr">I suggest adding string_view overloads to this group of functions. I gu=
ess the reason why is obvious.<br></div></blockquote><div><br>Personally, I=
&#39;d rather have `string_view` overloads of the <a href=3D"http://en.cppr=
eference.com/w/cpp/utility/from_chars">`from_chars` functions</a>. Let `sto=
i` and its ilk die.<br></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/a752b345-e365-4c05-a548-7782b19b196d%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/a752b345-e365-4c05-a548-7782b19b196d=
%40isocpp.org</a>.<br />

------=_Part_4529_365815066.1489594086088--

------=_Part_4528_589534026.1489594086087--

.
