220 36837 <CAC+0CCNhZf8ZP8HSCy-Ua31uggNhJnUz3-iSz8bP8EEph5nTeQ@mail.gmail.com> article
Path: news.gmane.org!.POSTED!not-for-mail
From: Jake Arkinstall <jake.arkinstall@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: String interpolation
Date: Fri, 9 Feb 2018 16:40:32 +0000
Lines: 117
Approved: news@gmane.org
Message-ID: <CAC+0CCNhZf8ZP8HSCy-Ua31uggNhJnUz3-iSz8bP8EEph5nTeQ@mail.gmail.com>
References: <356d5835-f1bf-4699-94f5-0b2d3d0b9c0e@isocpp.org>
 <14112472.AvYaaQfdXc@tjmaciei-mobl1> <CAC+0CCOKumW2SOvUEAPR4LdQfJDBXT7jvXPB0eMiznJ_6gCYhw@mail.gmail.com>
 <3073671.g2Bv754bdN@tjmaciei-mobl1>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="001a113d5a72dbb2950564ca2f4f"
X-Trace: blaine.gmane.org 1518194333 14898 195.159.176.226 (9 Feb 2018 16:38:53 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Fri, 9 Feb 2018 16:38:53 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBDCZX3WUUQFRBAM667JQKGQEXWMYBVQ@isocpp.org Fri Feb 09 17:38:48 2018
Return-path: <std-proposals+bncBDCZX3WUUQFRBAM667JQKGQEXWMYBVQ@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-oi0-f69.google.com ([209.85.218.69])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBDCZX3WUUQFRBAM667JQKGQEXWMYBVQ@isocpp.org>)
	id 1ekBgz-0002Oe-5O
	for gclcip-std-proposals@m.gmane.org; Fri, 09 Feb 2018 17:38:29 +0100
Original-Received: by mail-oi0-f69.google.com with SMTP id l66sf4028173oih.23
        for <gclcip-std-proposals@m.gmane.org>; Fri, 09 Feb 2018 08:40:34 -0800 (PST)
ARC-Seal: i=2; a=rsa-sha256; t=1518194434; cv=pass;
        d=google.com; s=arc-20160816;
        b=GWCUKlfCjyaiRStIRMy0KX/UAtwMGzmmtjPHuHxre/spqqgvG45ipANW46xj2pmkhM
         OXmtpcvD7rbWT8XE3pH9JBnhFFx7xB14qLWyrR8MmrvJ1yetC0gxN/9RiLi8MVO69H75
         ZSyA80aXVQWKR5H1HVGGOHtUvH/u5xePMbxXNMF70SlQJd6VowGp/yAoAbdZQ1ZoBt+H
         hvmu9pLpv+RCukY5G3WsfmuGMxVd2SnuIYCrH3p7YloI0ORE0LbMdArrNs/kXK9HWnbh
         rmoGyMWvyBLOyeZKtk9Oa8VaZBghm9/uNzdYn0WVlmrrRuIVTqnFoHbDzD+XA+vbnKQd
         3OwA==
ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
         :list-id:mailing-list:precedence:reply-to:to:subject:message-id:date
         :from:references:in-reply-to:mime-version:arc-authentication-results
         :arc-message-signature:dkim-signature:arc-authentication-results;
        bh=bEMjGaDclUEfDvLFMbGxnmQYlERvfruXaBLFWLD3xms=;
        b=FqKqmWLJWsBsaY8VW8/3XrrELPf/qGPds/ss3zNQHLAtzIPx/bk8yohs2re7btMRea
         7xbGFVk6l6EOUmYuyHEkW4XRGPiMTgvmX+CI+MT7bmbTHSNeQGvNlaVjBUplyqQW7+s/
         sJbWWJeRdVziBQ4TqWAXxtdGnObo2gML919FAalPdGWa5GsLSYambVynn+jXrSkDQkSo
         /NXZVkyjbAuLqcfiV3GzuOgdtkBIGzAYAunc5h4Q3UXWd+EEXalOoY4MQ5mGA9pRxDHa
         YBsq/U0DjSMosc6egCbicqg2TuqW79q08Dj4/ly1ZkH49EhbAcNh9WWzrMHG9Zl9QxAX
         5+9A==
ARC-Authentication-Results: i=2; mx.google.com;
       dkim=pass header.i=@gmail.com header.s=20161025 header.b=K9mqAhyh;
       spf=pass (google.com: domain of jake.arkinstall@gmail.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jake.arkinstall@gmail.com;
       dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=mime-version:in-reply-to:references:from:date:message-id:subject:to
         :x-original-sender:x-original-authentication-results:reply-to
         :precedence:mailing-list:list-id:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=bEMjGaDclUEfDvLFMbGxnmQYlERvfruXaBLFWLD3xms=;
        b=DgbzsMfhGu2S8d17aBqjdrSBT4Bt8If6pOQGOkPvmRsKKvDBhxzp4DftHwq1rZPXfx
         6zqR/d3HGYRfUSZ/8tpRNmc23eJsU/6xtnFobcnP/NRBd5RiJ9mEujv9GCoprnlZgBgi
         WSzS+k9s6aP+4ae4zqYWG9HtOs8IJpXFySGVRssNub0eH+/NsPsNDn/kPR5Nobya7NkS
         rAe/+XE4f/w/9KPB5BXnLNw1SjqG40cTj3VDebtvwRXAmi9E2jlbm3DMF5LpIh06yy5F
         0apwJArmYHe8N8JZQ/21xzWG9XCcz6DdPBuKy4e5AVp5m378K2Xo36mCBp4lBfJEeb2Z
         nkig==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:mime-version:in-reply-to:references:from:date
         :message-id:subject:to: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=bEMjGaDclUEfDvLFMbGxnmQYlERvfruXaBLFWLD3xms=;
        b=iPfTq/Pbn5f1hOAAFpUZXmCHC+XVonRlQgBXX9uUHWj44quivldpKtnSRktM60k6+G
         gEOSAWYpxz7RG1pMIkfVr8CjBlTX9p10tNZeNG5Ghrchb+DIm0bzj2lBSTLiKwxtcK5X
         SevhLNaD0z1qLb6QB+8YxvLGaI4JYZ2cjlYW1JmqKKx7DHYTKRScSAbIo0MGTTtvsWJ+
         1rbAGAHHae1+jkq6bRxS+TbC0URt3pAqz0RId2Of5MiV/MLG8X5f5OfweycGguQIcYjs
         r8ueybHjM64smm67R1mweugKbGXhHn1kxUi95Ag8siWGRx5iXVkt3MQuzYidKFFhkDwJ
         5yUw==
X-Gm-Message-State: APf1xPBAbnL0zwyXjO9n3nhauNcFgjw+3I0DFUNj2ln8RKm/+6n1lviR
	jRbVg2TzhOhr2IC7ONoYjVLTYQ==
X-Google-Smtp-Source: AH8x225AUrDvJSu/8cYO76oUPHJzi4rKKxu/BE3y7eK14fVRNGyUMhqL8xfEc1HKF6XzHiAbvqfm5Q==
X-Received: by 10.157.60.99 with SMTP id j32mr1841976ote.122.1518194434204;
        Fri, 09 Feb 2018 08:40:34 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.157.69.4 with SMTP id w4ls3711626ote.7.gmail; Fri, 09 Feb 2018
 08:40:33 -0800 (PST)
X-Received: by 10.157.40.142 with SMTP id s14mr2810768ota.352.1518194433135;
        Fri, 09 Feb 2018 08:40:33 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; t=1518194433; cv=none;
        d=google.com; s=arc-20160816;
        b=lcOILz2Xm/Ru37ouva6l/ege/KvER37dzPb+AQ4RY8+Ut+yyKLBR1B6aBiHpW5x+TR
         p4tjb+se3Jr1B10tOVDiiVXAxGBOM41lX6RYWjKYDBjElHBfYH8f0KZZC+usqMfg5mFj
         gMkfWVTm937btQ3gFR+h0ADbuLw68Gq5ll/OloHgfb0vloyGAzxm6qzzWs/EWW8JaIdU
         nXgVfha7r9fZvVlYvAZCpQj6LBg6pnG9My1GWLVi7PdCEaQzuRSIe4YB75uXsvrNiIJ5
         lQbT/cWuWvSZeKSQFwOpd1XV1TGRVruRJava+ReiFYKCJRQ1Yio2p7jY7knwK/JXswoI
         Z/4g==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=to:subject:message-id:date:from:references:in-reply-to:mime-version
         :dkim-signature:arc-authentication-results;
        bh=umVRuiX7qk7bmgirFynR/fOW/fHmN2uqlaLahAlDGSk=;
        b=vCrByfUn1PEc+FCjCWKPRSjxciCVjM0+o7sPn9b75ir0n/i3yoFzQWnfk9AkWfNKUF
         oGiSOWr+pyd1/BB6RA8uXZ+4RdKn9QorAvBjLaMWUYhW/u8xldCk6ueG2xFCO3MBXWBi
         IxRaFGLfYkcuAhjgaRhcw3mjlZCFpsN+Lzt/P4PlAUhAX2jfmjchFEQfXUFPs0QaLwB7
         ynfqfhzxwwHIYhP+n7yAbeYqvUoTK8AnTN/d1sV8srevU8cz2DEF4Rd3NwyXHfeulW0R
         jYN/sB1+Omq2o36MGNXC55Ax7YZp/OEe9vDKwz/Jem9phc8mdWi43K6e3FYCg72AfLCo
         w0Bw==
ARC-Authentication-Results: i=1; mx.google.com;
       dkim=pass header.i=@gmail.com header.s=20161025 header.b=K9mqAhyh;
       spf=pass (google.com: domain of jake.arkinstall@gmail.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jake.arkinstall@gmail.com;
       dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com
Original-Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41])
        by mx.google.com with SMTPS id d64sor1138240oia.3.2018.02.09.08.40.33
        for <std-proposals@isocpp.org>
        (Google Transport Security);
        Fri, 09 Feb 2018 08:40:33 -0800 (PST)
Received-SPF: pass (google.com: domain of jake.arkinstall@gmail.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41;
X-Received: by 10.202.216.136 with SMTP id p130mr2228667oig.277.1518194432650;
 Fri, 09 Feb 2018 08:40:32 -0800 (PST)
Original-Received: by 10.168.151.129 with HTTP; Fri, 9 Feb 2018 08:40:32 -0800 (PST)
Original-Received: by 10.168.151.129 with HTTP; Fri, 9 Feb 2018 08:40:32 -0800 (PST)
In-Reply-To: <3073671.g2Bv754bdN@tjmaciei-mobl1>
X-Original-Sender: jake.arkinstall@gmail.com
X-Original-Authentication-Results: mx.google.com;       dkim=pass
 header.i=@gmail.com header.s=20161025 header.b=K9mqAhyh;       spf=pass
 (google.com: domain of jake.arkinstall@gmail.com designates 209.85.220.41 as
 permitted sender) smtp.mailfrom=jake.arkinstall@gmail.com;       dmarc=pass
 (p=NONE sp=QUARANTINE 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: <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:36837
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/36837>

--001a113d5a72dbb2950564ca2f4f
Content-Type: text/plain; charset="UTF-8"

Okay, so a feature which exists in many languages, with considerably wide
use, cannot possibly be used in C++ because it isn't good enough for us.

This is why we cannot have nice things.

On 9 Feb 2018 16:39, "Thiago Macieira" <thiago@macieira.org> wrote:

> On Friday, 9 February 2018 05:51:29 PST Jake Arkinstall wrote:
> > That would be nice, but generic is a royal pain in the backside in this
> > circumstance. This is not something that can be written in the current
> > language because it requires interpetation of the strings. How on earth
> > that is supposed to generalise to choices of fmt, string conversion and
> > concatenation, stringstreams, and whatever magical solution we're waiting
> > on to make string manipulation efficient, I have no idea, especially in
> the
> > general situation where the different approaches - e.g. to_string and
> > operator<< - are not equivalent.
>
> And that's exactly I feel this proposal has no future.
>
> --
> Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
>    Software Architect - Intel Open Source Technology Center
>
>
>
> --
> 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/3073671.g2Bv754bdN%40tjmaciei-mobl1.
>

-- 
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/CAC%2B0CCNhZf8ZP8HSCy-Ua31uggNhJnUz3-iSz8bP8EEph5nTeQ%40mail.gmail.com.

--001a113d5a72dbb2950564ca2f4f
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto">Okay, so a feature which exists in many languages, with c=
onsiderably wide use, cannot possibly be used in C++ because it isn&#39;t g=
ood enough for us.<div dir=3D"auto"><br></div><div dir=3D"auto">This is why=
 we cannot have nice things.</div></div><div class=3D"gmail_extra"><br><div=
 class=3D"gmail_quote">On 9 Feb 2018 16:39, &quot;Thiago Macieira&quot; &lt=
;<a href=3D"mailto:thiago@macieira.org">thiago@macieira.org</a>&gt; wrote:<=
br type=3D"attribution"><blockquote class=3D"gmail_quote" style=3D"margin:0=
 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Friday, 9 Februar=
y 2018 05:51:29 PST Jake Arkinstall wrote:<br>
&gt; That would be nice, but generic is a royal pain in the backside in thi=
s<br>
&gt; circumstance. This is not something that can be written in the current=
<br>
&gt; language because it requires interpetation of the strings. How on eart=
h<br>
&gt; that is supposed to generalise to choices of fmt, string conversion an=
d<br>
&gt; concatenation, stringstreams, and whatever magical solution we&#39;re =
waiting<br>
&gt; on to make string manipulation efficient, I have no idea, especially i=
n the<br>
&gt; general situation where the different approaches - e.g. to_string and<=
br>
&gt; operator&lt;&lt; - are not equivalent.<br>
<br>
And that&#39;s exactly I feel this proposal has no future.<br>
<br>
--<br>
Thiago Macieira - thiago (AT) <a href=3D"http://macieira.info" rel=3D"noref=
errer" target=3D"_blank">macieira.info</a> - thiago (AT) <a href=3D"http://=
kde.org" rel=3D"noreferrer" target=3D"_blank">kde.org</a><br>
=C2=A0 =C2=A0Software Architect - Intel Open Source Technology Center<br>
<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">std-propo=
sals+unsubscribe@<wbr>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/3073671.g2Bv754bdN%40tjmaciei-mobl1" =
rel=3D"noreferrer" target=3D"_blank">https://groups.google.com/a/<wbr>isocp=
p.org/d/msgid/std-<wbr>proposals/3073671.g2Bv754bdN%<wbr>40tjmaciei-mobl1</=
a>.<br>
</blockquote></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/CAC%2B0CCNhZf8ZP8HSCy-Ua31uggNhJnUz3-=
iSz8bP8EEph5nTeQ%40mail.gmail.com?utm_medium=3Demail&utm_source=3Dfooter">h=
ttps://groups.google.com/a/isocpp.org/d/msgid/std-proposals/CAC%2B0CCNhZf8Z=
P8HSCy-Ua31uggNhJnUz3-iSz8bP8EEph5nTeQ%40mail.gmail.com</a>.<br />

--001a113d5a72dbb2950564ca2f4f--

.
