220 40358 <aae591e8-ec82-47ab-b8d8-ac9e5e2d0325@isocpp.org> article
Path: news.gmane.org!.POSTED!not-for-mail
From: denisx9.0c@gmail.com
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: std::string analogue for printf formating
Date: Sun, 7 Oct 2018 01:46:34 -0700 (PDT)
Lines: 141
Approved: news@gmane.org
Message-ID: <aae591e8-ec82-47ab-b8d8-ac9e5e2d0325@isocpp.org>
References: <337ace31-035c-42cf-9fae-e4ed30187ec3@isocpp.org>
 <CA+Om+ShrxOn4-VqCNsu3XTep3sUadF8GQTmcYb2Tt0-Pzm13MA@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_203_1219429080.1538901994439"
X-Trace: blaine.gmane.org 1538901871 11354 195.159.176.226 (7 Oct 2018 08:44:31 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Sun, 7 Oct 2018 08:44:31 +0000 (UTC)
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBD755CN664NRB24P47OQKGQEWLLJTFI@isocpp.org Sun Oct 07 10:44:27 2018
Return-path: <std-proposals+bncBD755CN664NRB24P47OQKGQEWLLJTFI@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-yw1-f69.google.com ([209.85.161.69])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBD755CN664NRB24P47OQKGQEWLLJTFI@isocpp.org>)
	id 1g94fq-0002rt-5q
	for gclcip-std-proposals@m.gmane.org; Sun, 07 Oct 2018 10:44:26 +0200
Original-Received: by mail-yw1-f69.google.com with SMTP id n143-v6sf3672789ywd.6
        for <gclcip-std-proposals@m.gmane.org>; Sun, 07 Oct 2018 01:46:36 -0700 (PDT)
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=nrWZdu954doQP0y3zuvzKU4+UAT+4w6/IMEb3V9VnPA=;
        b=M3xhZrBChjUNmEUjPKXNbXpEhiuX0KQVrvoG7l16eixHVkLBCSzcKCmubP8oo0cLJ7
         ngrUNOANLhLBoqGikznEkWRQkVVdECuBdPcH8cL6oks2TGvvF/PK0muS01FxzRSSy8rD
         Qrz3KobWRkGcPLWwpKL/d1F5o1bRGCsmEgDJ9PvClYdtKhe4JwQ2A9JhajQw1/3xfG7C
         wz1rzKBo7qQvlKlYRUT1mcC1njjyrerN2lphlOd7PeQmVGe+NOZlzcaOEZbUgk4UYquQ
         xV7OVzjxFvevivPrSLkObrp/e7Bxs5Zewi/2/128oNPWvIfcdXHehB1v9M84btuOhHS1
         OGGQ==
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=nrWZdu954doQP0y3zuvzKU4+UAT+4w6/IMEb3V9VnPA=;
        b=hKROgRBhA3Ij6ZpV2kmoZCOCCNlAXTtN0nmXvlP80vZNs+n3swlLqgv0Y+xQ1WsMaZ
         l1AZLhTC3Jgv7e94Rdz0Wu4Gk055T9KpyY8v/eaFrm+68HjMTY84CpRsu4jwbTpHkv4L
         w/Nd6fWBRSe3uxPmjo94dGv/wRj9/sMJsfX2A8oZdgMVGWMQ00w6jOqtXucz1FF2xxKP
         mZC+yGkirY2Rx1KPVpQ1TiuvRyPuEOneIqL/TmNGaSMKIHChrBdPKLQWQsZST7VaVQk8
         SRqiMZHuHeaiGtTamDrXOmNmw0g5b5D9PquPZnOYCWl3eY7uJPbZGhXyI3j9JVZVrvYX
         JP/g==
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=nrWZdu954doQP0y3zuvzKU4+UAT+4w6/IMEb3V9VnPA=;
        b=G1IHb7GYjUtMYqR3haVP1eEsZmMWafsZbeh9GvajqGgqSwvdEzJpO+kS+lapp4+h5u
         eDFf8CsbxijQxLKBdf8ybKGjk6muF03dEbaiS0Id6/ng6dytMH/l59IjAC06FB8sZhDJ
         1wFMRS6koh8tXC7OznVt1+5UhIyJ9DOO353fPUOn4C4y1wTGyNUzayIejxq7tnKuvdNo
         iw0/nHscdj2RhZgSePw8zvNhN8XnkFv8hvcD8oy6Cy6B8aHdTeATcJqPo2NXc/+LpODT
         srZjEuGAdAjXyd2JjekEWPshIyw1fRVDZ9GcxITriEwOEpDoHx0EpK1I3mPjLjhbUWLu
         cp7A==
X-Gm-Message-State: ABuFfojloizkh2L3iiFKmacw8CYcpJMNoG52neCt48S+5ommyF+4yE1y
	l8sHGfpKCPvgwPmj/aIrsJ0sQQ==
X-Google-Smtp-Source: ACcGV62OL5SjnG5uEftmimkuAd0bfxv4KpbI3Okb/a57P515lx4AHcfpxDeJnVsGZ8jnZQhA1CcUWw==
X-Received: by 2002:a25:b2a5:: with SMTP id k37-v6mr9412659ybj.51.1538901996382;
        Sun, 07 Oct 2018 01:46:36 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 2002:a81:b1c8:: with SMTP id p191-v6ls4171863ywh.3.gmail; Sun, 07
 Oct 2018 01:46:35 -0700 (PDT)
X-Received: by 2002:a81:57cd:: with SMTP id l196-v6mr173973ywb.4.1538901994947;
        Sun, 07 Oct 2018 01:46:34 -0700 (PDT)
In-Reply-To: <CA+Om+ShrxOn4-VqCNsu3XTep3sUadF8GQTmcYb2Tt0-Pzm13MA@mail.gmail.com>
X-Original-Sender: denisx9.0c@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:40358
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/40358>

------=_Part_203_1219429080.1538901994439
Content-Type: multipart/alternative; 
	boundary="----=_Part_204_1279993216.1538901994440"

------=_Part_204_1279993216.1538901994440
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Thanks, it is exactly that I was looking for.

=D0=B2=D0=BE=D1=81=D0=BA=D1=80=D0=B5=D1=81=D0=B5=D0=BD=D1=8C=D0=B5, 7 =D0=
=BE=D0=BA=D1=82=D1=8F=D0=B1=D1=80=D1=8F 2018 =D0=B3., 11:19:48 UTC+3 =D0=BF=
=D0=BE=D0=BB=D1=8C=D0=B7=D0=BE=D0=B2=D0=B0=D1=82=D0=B5=D0=BB=D1=8C Corentin=
=20
=D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB:
>
> This is what you are looking for https://wg21.link/p0645r2
>
> On Sun, 7 Oct 2018 at 10:15 <denis...@gmail.com <javascript:>> wrote:
>
>> Hi all,
>>
>> Are there any proposals about std::string formating?
>> I think it should be useful to have something like
>>
>> int firstArg =3D 0;
>> std::string secondArg =3D "Ha-ha";
>>
>> std::string("This is first arg %1 and this is last %2").args(firstArg,=
=20
>> secondArg);
>>
>> args() would be function with variable template list.
>>
>> --=20
>> You received this message because you are subscribed to the Google Group=
s=20
>> "ISO C++ Standard - Future Proposals" group.
>> To unsubscribe from this group and stop receiving emails from it, send a=
n=20
>> email to std-proposal...@isocpp.org <javascript:>.
>> To post to this group, send email to std-pr...@isocpp.org <javascript:>.
>> To view this discussion on the web visit=20
>> https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/337ace31-03=
5c-42cf-9fae-e4ed30187ec3%40isocpp.org=20
>> <https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/337ace31-0=
35c-42cf-9fae-e4ed30187ec3%40isocpp.org?utm_medium=3Demail&utm_source=3Dfoo=
ter>
>> .
>>
>

--=20
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 e=
mail 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/aae591e8-ec82-47ab-b8d8-ac9e5e2d0325%40isocpp.or=
g.

------=_Part_204_1279993216.1538901994440
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Thanks, it is exactly that I was looking for.<br><br>=D0=
=B2=D0=BE=D1=81=D0=BA=D1=80=D0=B5=D1=81=D0=B5=D0=BD=D1=8C=D0=B5, 7 =D0=BE=
=D0=BA=D1=82=D1=8F=D0=B1=D1=80=D1=8F 2018 =D0=B3., 11:19:48 UTC+3 =D0=BF=D0=
=BE=D0=BB=D1=8C=D0=B7=D0=BE=D0=B2=D0=B0=D1=82=D0=B5=D0=BB=D1=8C Corentin =
=D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB:<blockquote class=3D"gmail_quote=
" style=3D"margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding=
-left: 1ex;"><div dir=3D"ltr">This is what you are looking for=C2=A0<a href=
=3D"https://wg21.link/p0645r2" target=3D"_blank" rel=3D"nofollow" onmousedo=
wn=3D"this.href=3D&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwg21.l=
ink%2Fp0645r2\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGkjlvFUECfsmiCTdKgOGo=
xS-Osxw&#39;;return true;" onclick=3D"this.href=3D&#39;https://www.google.c=
om/url?q\x3dhttps%3A%2F%2Fwg21.link%2Fp0645r2\x26sa\x3dD\x26sntz\x3d1\x26us=
g\x3dAFQjCNGkjlvFUECfsmiCTdKgOGoxS-Osxw&#39;;return true;">https://wg21.lin=
k/p0645r2</a></div><br><div class=3D"gmail_quote"><div dir=3D"ltr">On Sun, =
7 Oct 2018 at 10:15 &lt;<a href=3D"javascript:" target=3D"_blank" gdf-obfus=
cated-mailto=3D"tj51bDexAwAJ" rel=3D"nofollow" onmousedown=3D"this.href=3D&=
#39;javascript:&#39;;return true;" onclick=3D"this.href=3D&#39;javascript:&=
#39;;return true;">denis...@gmail.com</a>&gt; wrote:<br></div><blockquote c=
lass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;=
padding-left:1ex"><div dir=3D"ltr">Hi all,<div><br></div><div>Are there any=
 proposals about std::string formating?</div><div>I think it should be usef=
ul to have something like</div><div><br></div><div>int firstArg =3D 0;</div=
><div>std::string secondArg =3D &quot;Ha-ha&quot;;</div><div><br></div><div=
>std::string(&quot;This is first arg %1 and this is last %2&quot;).args(fir=
stArg, secondArg);</div><div><br></div><div>args() would be function with v=
ariable template list.</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"javascript:" target=3D"_blank" gdf-obfuscated-mailto=3D"=
tj51bDexAwAJ" rel=3D"nofollow" onmousedown=3D"this.href=3D&#39;javascript:&=
#39;;return true;" onclick=3D"this.href=3D&#39;javascript:&#39;;return true=
;">std-proposal...@<wbr>isocpp.org</a>.<br>
To post to this group, send email to <a href=3D"javascript:" target=3D"_bla=
nk" gdf-obfuscated-mailto=3D"tj51bDexAwAJ" rel=3D"nofollow" onmousedown=3D"=
this.href=3D&#39;javascript:&#39;;return true;" onclick=3D"this.href=3D&#39=
;javascript:&#39;;return true;">std-pr...@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/337ace31-035c-42cf-9fae-e4ed30187ec3%=
40isocpp.org?utm_medium=3Demail&amp;utm_source=3Dfooter" target=3D"_blank" =
rel=3D"nofollow" onmousedown=3D"this.href=3D&#39;https://groups.google.com/=
a/isocpp.org/d/msgid/std-proposals/337ace31-035c-42cf-9fae-e4ed30187ec3%40i=
socpp.org?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" on=
click=3D"this.href=3D&#39;https://groups.google.com/a/isocpp.org/d/msgid/st=
d-proposals/337ace31-035c-42cf-9fae-e4ed30187ec3%40isocpp.org?utm_medium\x3=
demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com=
/a/<wbr>isocpp.org/d/msgid/std-<wbr>proposals/337ace31-035c-42cf-<wbr>9fae-=
e4ed30187ec3%40isocpp.org</a><wbr>.<br>
</blockquote></div>
</blockquote></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/aae591e8-ec82-47ab-b8d8-ac9e5e2d0325%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/aae591e8-ec82-47ab-b8d8-ac9e5e2d0325=
%40isocpp.org</a>.<br />

------=_Part_204_1279993216.1538901994440--

------=_Part_203_1219429080.1538901994439--

.
