220 20877 <CAB+4KHJTHcEFAMV-NTCbSnxmj2H2DpZqw52o2Q8Km5mDowqa=g@mail.gmail.com> article
Path: news.gmane.org!not-for-mail
From: Andrew Tomazos <andrewtomazos@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Re: Rough Draft Proposal of Interpolated String Literals
Date: Mon, 28 Sep 2015 00:44:18 +0200
Lines: 92
Approved: news@gmane.org
Message-ID: <CAB+4KHJTHcEFAMV-NTCbSnxmj2H2DpZqw52o2Q8Km5mDowqa=g@mail.gmail.com>
References: <CAB+4KHKxwEPXSFScU-FjeUL=yQFZWGfm6uk5fbh1+9bfScL_2Q@mail.gmail.com>
	<mtn6lu$3mr$1@ger.gmane.org>
	<043C43B5-72C9-4136-8D2F-2A3D745B2975@gmail.com>
	<CAB+4KHKX2yxfKi0PCO6=J6wSOt5LA6KAL6kcR=BAW9Mc13mRDQ@mail.gmail.com>
	<mtnit7$b0d$1@ger.gmane.org>
	<CAB+4KHJDhLghSzrAn18oU=SmmfSHS4pSUZOdd9FFuci78_R73Q@mail.gmail.com>
	<CAOHCbivoSL15s3V+VDN9FY7VuFW053DvEFY-BDtMpnuehtJ0vw@mail.gmail.com>
	<CAB+4KHJY2QzVj+m=Eg+yixcyGDr6KdB0Ped1WH6CCjZ1b3sD3g@mail.gmail.com>
	<6e2f4cfa-92d7-49e3-ad1a-5b0e0bb803b9@isocpp.org>
	<c1d5b27d-e85f-4803-8fc0-f1f1515e5179@isocpp.org>
	<CAB+4KHJkhXwKYSrkB7ADSZ7yR=VD9nQSf6RdqJqV=O2TNp6qiA@mail.gmail.com>
	<93bca85a-d265-4f44-bff5-0f6a009efb70@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary=047d7bae45323a49a20520c252b5
X-Trace: ger.gmane.org 1443393863 8491 80.91.229.3 (27 Sep 2015 22:44:23 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Sun, 27 Sep 2015 22:44:23 +0000 (UTC)
To: "std-proposals@isocpp.org" <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBD5KHQXXWYPRBQ7CUGYAKGQE3NILPWI@isocpp.org Mon Sep 28 00:44:23 2015
Return-path: <std-proposals+bncBD5KHQXXWYPRBQ7CUGYAKGQE3NILPWI@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-wi0-f197.google.com ([209.85.212.197])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBD5KHQXXWYPRBQ7CUGYAKGQE3NILPWI@isocpp.org>)
	id 1ZgKg8-0008Lz-Rt
	for gclcip-std-proposals@m.gmane.org; Mon, 28 Sep 2015 00:44:20 +0200
Original-Received: by wicmn1 with SMTP id mn1sf30229552wic.1
        for <gclcip-std-proposals@m.gmane.org>; Sun, 27 Sep 2015 15:44:20 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:mime-version:in-reply-to:references:date
         :message-id:subject:from:to:content-type: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=bIiejGMtQXG9TYGXMRWDPj5MAIXMtJCWah+u4BsVpB0=;
        b=QIkAB/ii6F9xtaFIIp8peOTtKtNRGiHIkp+66x1V7orvdo/9W5ABbJKchlunoTjcTV
         IOnEU/bhi/hD/W8PDXDs/RFFX8jcCd+YcErNw9bLrD3piyIH2yWK+W+oEDAaw3pGdXIf
         UoRlIL7WjCqMmenfhc7teTnNY+jYkR3Z3a1THhYVmJVcDe58XuSLdkk4fnmCY+mYIDXF
         yuR8729eEkwdPERi13V310uPl9pD/Yl+uC3mrCbiEhTd3p6aDFTQvamBgepSn9Gy0kEX
         ZrXd28gIVVKouJPrpRl6i0EuBD1mdWqUdVNPc6MS/UHAXUx+RmrRgCn0cSUu7oujOnLh
         Cb4w==
X-Gm-Message-State: ALoCoQlvDWwUicZTnwHqexqUv2K/l2PJvDHIHQh7jGvL3OF6SSLtXxumbs0D38XxNtLzQ/ZolpFN
X-Received: by 10.112.190.65 with SMTP id go1mr2261847lbc.9.1443393860172;
        Sun, 27 Sep 2015 15:44:20 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.180.101.134 with SMTP id fg6ls450167wib.41.canary; Sun, 27 Sep
 2015 15:44:19 -0700 (PDT)
X-Received: by 10.180.210.163 with SMTP id mv3mr8534459wic.40.1443393859150;
        Sun, 27 Sep 2015 15:44:19 -0700 (PDT)
Original-Received: from mail-wi0-x230.google.com (mail-wi0-x230.google.com. [2a00:1450:400c:c05::230])
        by mx.google.com with ESMTPS id ca13si18351807wib.100.2015.09.27.15.44.19
        for <std-proposals@isocpp.org>
        (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Sun, 27 Sep 2015 15:44:19 -0700 (PDT)
Received-SPF: pass (google.com: domain of andrewtomazos@gmail.com designates 2a00:1450:400c:c05::230 as permitted sender) client-ip=2a00:1450:400c:c05::230;
Original-Received: by wicfx3 with SMTP id fx3so78454744wic.0
        for <std-proposals@isocpp.org>; Sun, 27 Sep 2015 15:44:18 -0700 (PDT)
X-Received: by 10.194.203.5 with SMTP id km5mr13260817wjc.52.1443393858847;
 Sun, 27 Sep 2015 15:44:18 -0700 (PDT)
Original-Received: by 10.28.73.137 with HTTP; Sun, 27 Sep 2015 15:44:18 -0700 (PDT)
In-Reply-To: <93bca85a-d265-4f44-bff5-0f6a009efb70@isocpp.org>
X-Original-Sender: andrewtomazos@gmail.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of andrewtomazos@gmail.com designates 2a00:1450:400c:c05::230 as
 permitted sender) smtp.mailfrom=andrewtomazos@gmail.com;       dkim=pass
 header.i=@gmail.com;       dmarc=pass (p=NONE dis=NONE) header.from=gmail.com
Precedence: list
Mailing-list: list std-proposals@isocpp.org; contact std-proposals+owners@isocpp.org
List-ID: <std-proposals.isocpp.org>
X-Spam-Checked-In-Group: 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: <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>,
 <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:20877
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/20877>

--047d7bae45323a49a20520c252b5
Content-Type: text/plain; charset=UTF-8

I'm not so sure.  I think the locale is set usually globally/statefully,
right?  So dates, currency delimiters etc are not set and translated on a
per-string-literal basis - and therefore out-of-scope for
per-string-literal formatting.

Admittedly I don't know a lot about locales.  Would need to do some further
research if this proposal was pursued.

On Sun, Sep 27, 2015 at 11:11 AM, Bengt Gustafsson <
bengt.gustafsson@beamways.com> wrote:

> Translation often changes or would want to change formatting for floats (,
> vs .), dates, currency and other types. With suitable classes and
> corresponding overloads with different interpretation of the formatting
> characters this can be accomplished without invading the source code.
>
> --
>
> ---
> 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/.
>

-- 

--- 
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/.

--047d7bae45323a49a20520c252b5
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">I&#39;m not so sure.=C2=A0 I think the locale is set usual=
ly globally/statefully, right?=C2=A0 So dates, currency delimiters etc are =
not set and translated on a per-string-literal basis - and therefore out-of=
-scope for per-string-literal formatting.<div><br></div><div>Admittedly I d=
on&#39;t know a lot about locales.=C2=A0 Would need to do some further rese=
arch if this proposal was pursued.<br><div><br></div><div><div class=3D"gma=
il_extra"><div class=3D"gmail_quote">On Sun, Sep 27, 2015 at 11:11 AM, Beng=
t Gustafsson <span dir=3D"ltr">&lt;<a href=3D"mailto:bengt.gustafsson@beamw=
ays.com" target=3D"_blank">bengt.gustafsson@beamways.com</a>&gt;</span> wro=
te:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-=
left:1px #ccc solid;padding-left:1ex">Translation often changes or would wa=
nt to change formatting for floats (, vs .), dates, currency and other type=
s. With suitable classes and corresponding overloads with different interpr=
etation of the formatting characters this can be accomplished without invad=
ing the source code.<br>
<div><div><br>
--<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%2Bunsubscribe@isocpp.org" target=3D=
"_blank">std-proposals+unsubscribe@isocpp.org</a>.<br>
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org" target=3D"_blank">std-proposals@isocpp.org</a>.<br>
Visit this group at <a href=3D"http://groups.google.com/a/isocpp.org/group/=
std-proposals/" rel=3D"noreferrer" target=3D"_blank">http://groups.google.c=
om/a/isocpp.org/group/std-proposals/</a>.<br>
</div></div></blockquote></div><br></div></div></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 />

--047d7bae45323a49a20520c252b5--

.
