220 10613 <719d4081-5e0d-4b27-9106-1798b2102138@isocpp.org> article
Path: news.gmane.org!not-for-mail
From: Chris Ridgway <turbine1991@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Overloading std::to_string() with std::string and std::wstring.
Date: Mon, 12 May 2014 17:02:47 -0700 (PDT)
Lines: 58
Approved: news@gmane.org
Message-ID: <719d4081-5e0d-4b27-9106-1798b2102138@isocpp.org>
References: <6d7c0fe0-e061-4d94-8506-d318609ffad3@isocpp.org>
 <a08f1a82-76be-442c-94c2-860ee714c9ed@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; 
	boundary="----=_Part_4813_13533057.1399939367776"
X-Trace: ger.gmane.org 1399939377 7142 80.91.229.3 (13 May 2014 00:02:57 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Tue, 13 May 2014 00:02:57 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBDMIRW47QQGRBKOCYWNQKGQEHCKW24I@isocpp.org Tue May 13 02:02:51 2014
Return-path: <std-proposals+bncBDMIRW47QQGRBKOCYWNQKGQEHCKW24I@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-yh0-f70.google.com ([209.85.213.70])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBDMIRW47QQGRBKOCYWNQKGQEHCKW24I@isocpp.org>)
	id 1Wk0BG-0002NI-9Z
	for gclcip-std-proposals@m.gmane.org; Tue, 13 May 2014 02:02:50 +0200
Original-Received: by mail-yh0-f70.google.com with SMTP id z6sf28923599yhz.9
        for <gclcip-std-proposals@m.gmane.org>; Mon, 12 May 2014 17:02:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=date:from:to:message-id:in-reply-to:references:subject:mime-version
         :x-original-sender:reply-to:precedence:mailing-list:list-id
         :list-post:list-help:list-archive:list-subscribe:list-unsubscribe
         :content-type;
        bh=hkYNSvqn/dVuange02b4BeADPDzAzaRO/s9jdhjqw2w=;
        b=D+aOGBrmj4dwUUUAAnNJTksYVo0bBlMEJ9ZFjIONMmLJFzoTttIxeoSGYF31BSAjN+
         RwSnLTTif7VrUBA8rnnFckmEaGGaxV43uYZB+UbOAKbqH317IfrRBBPYi3UX5OUxlUrH
         ZH9+31PNSwRXSRMV+A2rvAWVo1fbwYBmP/O/73dWepeuGOVu8hBXHOPoyh5btj5Xe9e0
         nE/kSE51ssJ4McgYM4a4MMSXrxkwNjf3ojXUJut5WCcG9eK+cg5/t47Ci5ajEXJ9D9Gy
         06Wcu0/EYZBjriRD1NJQNRAUZY9GR5rVAhXaqFTyfJsm4OZFWTg9Wo7sIuahGdP/Sf/q
         Fayw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        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:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe:content-type;
        bh=hkYNSvqn/dVuange02b4BeADPDzAzaRO/s9jdhjqw2w=;
        b=lh1MpYizBhI4ijT6PfemV+hqMHrQt5uT44Em+RFjpRPiguGoUeRikHWhBmhGBIzHQC
         y5kizhEJ1K56gS9rqmIuoXbGfZomnzW4j8+lRUdKO1AItBVbwXW/2VhSuCnonAiX8sTe
         pYAEXavSdUZt3ShlTsnLq7SxxiTgxs0tPCdji+lED7sLp2gopaQUP6sH6WrQFixZTNNM
         kO6tGxevECieAjNdWQ52HgtYBFKz46uKi5QxWdQhLU/iMe7gQZfqzNQLXZUwifuntfBz
         nyvpt0845TVU+RDo5twToPjfrjH3nnnEQC9KIqYCvj3qUmHYjDQlTlUPZlOXtaMwDZj6
         4Z+w==
X-Gm-Message-State: ALoCoQk59nfvRKZgWZSlZwqTD8whW69TsCxitrNFzkDmm/ZCum8olohKhHdZQ3v8h+H2+h/Slfwe
X-Received: by 10.236.31.40 with SMTP id l28mr6951435yha.34.1399939369493;
        Mon, 12 May 2014 17:02:49 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.50.20.232 with SMTP id q8ls958266ige.35.canary; Mon, 12 May
 2014 17:02:48 -0700 (PDT)
X-Received: by 10.51.16.5 with SMTP id fs5mr570288igd.16.1399939368904;
        Mon, 12 May 2014 17:02:48 -0700 (PDT)
In-Reply-To: <a08f1a82-76be-442c-94c2-860ee714c9ed@isocpp.org>
X-Original-Sender: turbine1991@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: <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:10613
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/10613>

------=_Part_4813_13533057.1399939367776
Content-Type: text/plain; charset=UTF-8

On Tuesday, 13 May 2014 10:45:07 UTC+12, Jim Porter wrote:
>
> I'm a bit less convinced of the use of converting std::wstring to 
> std::string via std::to_string(), but that's more because I think wstring 
> is a bit of a mess. Fixing that would probably be a long and difficult 
> process, though.
>

Don't think of it converting a data type to just a string, it's the 
std::generic_string<char> after all which could be used to convert 
std::string into std::wstring. It'd certainly be a logical step, although 
the character encoding support is quite a mess as you say.

-- 

--- 
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.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposals/.

------=_Part_4813_13533057.1399939367776
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">On Tuesday, 13 May 2014 10:45:07 UTC+12, Jim Porter  wrote=
:<blockquote class=3D"gmail_quote" style=3D"margin: 0;margin-left: 0.8ex;bo=
rder-left: 1px #ccc solid;padding-left: 1ex;"><div dir=3D"ltr"><div>I'm a b=
it less convinced of the use of converting std::wstring to std::string via =
std::to_string(), but that's more because I think wstring is a bit of a mes=
s. Fixing that would probably be a long and difficult process, though.<br><=
/div></div></blockquote><div><br></div><div>Don't think of it converting a =
data type to just a string, it's the std::generic_string&lt;char&gt; after =
all which could be used to convert std::string into std::wstring. It'd cert=
ainly be a logical step, although the character encoding support is quite a=
 mess as you say.</div></div>

<p></p>

-- <br />
<br />
--- <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 />
Visit this group at <a href=3D"http://groups.google.com/a/isocpp.org/group/=
std-proposals/">http://groups.google.com/a/isocpp.org/group/std-proposals/<=
/a>.<br />

------=_Part_4813_13533057.1399939367776--

.
