220 36881 <48d4dcd6-4235-405a-9a2e-b38853d3c525@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: String interpolation
Date: Mon, 12 Feb 2018 07:00:43 -0800 (PST)
Lines: 80
Approved: news@gmane.org
Message-ID: <48d4dcd6-4235-405a-9a2e-b38853d3c525@isocpp.org>
References: <356d5835-f1bf-4699-94f5-0b2d3d0b9c0e@isocpp.org>
 <CAMD6iD9aT26x8GQHnQL+kuj3Rq8fVQSfYYFtvTnFidkf6jU_ag@mail.gmail.com>
 <25CCF885-86AD-4D51-8F5C-C46376D34DE0@gmail.com> <4890431.TR9UepuQra@tjmaciei-mobl1>
 <CALvx3hac77b6Z=EOWzKqynALi1-352OvY0dnnOer8rN6tfa01g@mail.gmail.com>
 <1cdb6300-7397-46d7-bce9-62e6e8dac40b@isocpp.org> <CAC+0CCOSZHaTA=YPSDU8Add7mE_BYcYPRCmGW8TRPtZhdqL8Hw@mail.gmail.com>
 <4bce681e-e729-4124-9322-69291fdb6678@isocpp.org> <f5feb9a0-99d3-433a-ae46-af34c8d00a61@isocpp.org>
 <8e456af5-09c3-461d-8562-30df127e93af@isocpp.org> <bd24b702-025a-4b06-976b-559c779851e1@isocpp.org>
 <f63ed807-c5f6-4997-b03f-b4bc16a70982@isocpp.org> <28e80709-5ebb-44d2-b26d-22cafd681330@isocpp.org>
 <52b86f0a-b3b9-455f-9d4d-0f6b15192c90@isocpp.org> <1e9a5468-6efa-48a2-87ce-6bdb6d5c4e83@isocpp.org>
 <750ecf62-9637-40f4-8585-e3be2780fb46@isocpp.org>
 <CAC+0CCOV7Qf21J-MBpdggkkrNt8Hs2dN03o52F0s-QXY6f=cbw@mail.gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_9705_1539551662.1518447643198"
X-Trace: blaine.gmane.org 1518447551 15504 195.159.176.226 (12 Feb 2018 14:59:11 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Mon, 12 Feb 2018 14:59:11 +0000 (UTC)
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBCEKFTV6ZUMBBHGYQ3KAKGQENFAYU5I@isocpp.org Mon Feb 12 15:59:06 2018
Return-path: <std-proposals+bncBCEKFTV6ZUMBBHGYQ3KAKGQENFAYU5I@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-ua0-f198.google.com ([209.85.217.198])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBCEKFTV6ZUMBBHGYQ3KAKGQENFAYU5I@isocpp.org>)
	id 1elFZ2-0002HS-JH
	for gclcip-std-proposals@m.gmane.org; Mon, 12 Feb 2018 15:58:40 +0100
Original-Received: by mail-ua0-f198.google.com with SMTP id s7sf2111165uaj.21
        for <gclcip-std-proposals@m.gmane.org>; Mon, 12 Feb 2018 07:00:46 -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
         :list-post:list-help:list-archive:list-subscribe:list-unsubscribe;
        bh=dw8EqYTfWkx39bi1pjMZIFN8hN7uWnznRJcAdpWXE28=;
        b=ttHEYCG4Lwk3/tph5hwemknC/haz6poGoCF9+rtCE9ZQGqJSYnTZiujY/GFHQ5X1ab
         6EVDIs00uHaiiVZqKRRE2CtJtSZcC7KShjWCcPmaQd3iRrZMM8gFN2HmfrKPTQVLc/Ge
         +jh+szWfHUAj9d99p99toZuuEGIEfM1XUtg/dgnSU5KL81ZwxwXIWqvJ2CoNHJ1ioc3O
         TDX9DjejHPo0ip4lkCRnYlpQ0qBjTAG2Z555gD0zFq6PeRojoc+lAhuQreLFrrxlzQx9
         RujiZxTerIvFDmcinQHVB+H2j4see1oVA2quumCBgfznghY9y1hoBgzRk0amFDAoRk4f
         WurA==
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
         :list-post:list-help:list-archive:list-subscribe:list-unsubscribe;
        bh=dw8EqYTfWkx39bi1pjMZIFN8hN7uWnznRJcAdpWXE28=;
        b=POtUtOrlrM7JkurSFPduBluDxnTOe3Ek2QfkgkxNPXJ5UPQDVsByyKqMMG3Ns9s+tp
         oDvOIbwAD55w6RikAtmIKSuDeCbBVCoP/9um8NuTJ6R3RTkpT3KJgS/PYE0qXs8TRR0Z
         cYkNhh3BsCeK62FVfxjfNHf6CzHmIPD6wo760fRrKosgG5FwrQ1I0xviZNiTpJoOpW8H
         l0iIhSjqi7nt4dHUH2kM7GZShhJN3lwolytqB7gPcYqYxvEw69HL1+EtmBRlxb/GJKSy
         vmzfNLl84W/j1AVxDK5qrDKavgZQvpJsDBvpJExqknhXLAw6f7NpwtEiM5eHiiBpSiim
         8JjA==
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=dw8EqYTfWkx39bi1pjMZIFN8hN7uWnznRJcAdpWXE28=;
        b=pWHptzLs+KDuyJyIj8hcL+hqHQWXLXSlfOL57GqWpXCpT3seW+gUVIpcHtBbaXuopk
         nMFJMa8NzeB7IcTS2AOJrygwmq0IryjLV5718q75eUQUqDWSnp/cF3sPBI8TnqU2eZon
         as335IU6TBLOMGRtVNmWNperNo193+0HNxvj2zhdwqFbQHeHGCWsXmMOYb6x7SasVYaa
         xWLtfGb74O/a0cuFOoXL96InY+6t3PbG9uQ7/TJlSeBtIYL3qjl0cl+mvTQbUk51lz4E
         1B8jZfJziagXbKHt7wFjCCIxA9Nj7cEjpO7pUDIyZ8MgumoO5l7F490gCiF5oxRF2+R1
         7VOg==
X-Gm-Message-State: APf1xPChISp9ER1ipZPP0EQeb7fhViwk80wV4yFHBjCp34O/YN69YYQ/
	clM96bguUKyGZVkzmi7XmLQzWw==
X-Google-Smtp-Source: AH8x224NpieNns6Ajmsf71WnCe6TW9LQo6p0pHt5o1aOlAxt3Kj+RchvpRzTB2m8oWJKIM2xm+eUAg==
X-Received: by 10.176.48.227 with SMTP id d3mr6327431uam.18.1518447646105;
        Mon, 12 Feb 2018 07:00:46 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.31.189.204 with SMTP id n195ls6999516vkf.15.gmail; Mon, 12 Feb
 2018 07:00:44 -0800 (PST)
X-Received: by 10.31.180.205 with SMTP id d196mr1066672vkf.10.1518447643738;
        Mon, 12 Feb 2018 07:00:43 -0800 (PST)
In-Reply-To: <CAC+0CCOV7Qf21J-MBpdggkkrNt8Hs2dN03o52F0s-QXY6f=cbw@mail.gmail.com>
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-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:36881
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/36881>

------=_Part_9705_1539551662.1518447643198
Content-Type: multipart/alternative; 
	boundary="----=_Part_9706_2127361518.1518447643198"

------=_Part_9706_2127361518.1518447643198
Content-Type: text/plain; charset="UTF-8"



On Monday, February 12, 2018 at 9:38:50 AM UTC-5, Jake Arkinstall wrote:
>
> Is recursion a reasonable request in the proposal too? I actually can't 
> think of WHY one would want it, but it might be worth a discussion for 
> completeness.
>
> Nicol, what are your thoughts on Florian's suggestion?
>
> In the interest of grounding ourselves (although I'm getting quite excited 
> here), does anybody from the compiler community have any input as to any 
> stumbling blocks in the implementation of this?
>

Implementation of what, exactly?

The most important implementation-based question that hasn't been answered 
here is what exactly can go in the {} part. Is it just variable names in 
scope, similar to how lambda capture lists can only name variables? Is it 
arbitrary expressions (and therefore potentially including lambdas that can 
resolve to statements?)

I imagine that the former will be a lot easier to implement than the latter.

-- 
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/48d4dcd6-4235-405a-9a2e-b38853d3c525%40isocpp.org.

------=_Part_9706_2127361518.1518447643198
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><br>On Monday, February 12, 2018 at 9:38:50 AM UTC-5, =
Jake Arkinstall wrote:<blockquote class=3D"gmail_quote" style=3D"margin: 0;=
margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir=
=3D"auto"><div dir=3D"auto">Is recursion a reasonable request in the propos=
al too? I actually can&#39;t think of WHY one would want it, but it might b=
e worth a discussion for completeness.</div><div dir=3D"auto"><br></div>Nic=
ol, what are your thoughts on Florian&#39;s suggestion?<div dir=3D"auto"><b=
r></div><div dir=3D"auto">In the interest of grounding ourselves (although =
I&#39;m getting quite excited here), does anybody from the compiler communi=
ty have any input as to any stumbling blocks in the implementation of this?=
</div></div></blockquote><div><br>Implementation of what, exactly?<br><br>T=
he most important implementation-based question that hasn&#39;t been answer=
ed here is what exactly can go in the {} part. Is it just variable names in=
 scope, similar to how lambda capture lists can only name variables? Is it =
arbitrary expressions (and therefore potentially including lambdas that can=
 resolve to statements?)<br></div><br>I imagine that the former will be a l=
ot easier to implement than the latter.<br></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/48d4dcd6-4235-405a-9a2e-b38853d3c525%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/48d4dcd6-4235-405a-9a2e-b38853d3c525=
%40isocpp.org</a>.<br />

------=_Part_9706_2127361518.1518447643198--

------=_Part_9705_1539551662.1518447643198--

.
