Date: Thu, 06 May 2021 12:26:57 -0700
On Thursday, 6 May 2021 01:39:25 PDT Marcin Jaczewski via Std-Proposals wrote:
> czw., 6 maj 2021 o 06:31 Thiago Macieira via Std-Proposals
>
> <std-proposals_at_[hidden]> napisaĆ(a):
> > On Tuesday, 4 May 2021 10:39:06 PDT Avi Kivity via Std-Proposals wrote:
> > > Since they adopted the proposal, it appears they agree that the
> > > function-call syntax is more natural than chaining.
> >
> > auto dooms the chaining.
> >
> > auto result1 = format(fmtstring, a, b, c);
> >
> > auto result2 = format(fmtstring) << a << b << c;
> >
> > What is the type of result2?
>
> This could require "operator auto".
Indeed, but since we don't have it yet, not even in the form of papers under
consideration, it's not an option for library features being developed.
> czw., 6 maj 2021 o 06:31 Thiago Macieira via Std-Proposals
>
> <std-proposals_at_[hidden]> napisaĆ(a):
> > On Tuesday, 4 May 2021 10:39:06 PDT Avi Kivity via Std-Proposals wrote:
> > > Since they adopted the proposal, it appears they agree that the
> > > function-call syntax is more natural than chaining.
> >
> > auto dooms the chaining.
> >
> > auto result1 = format(fmtstring, a, b, c);
> >
> > auto result2 = format(fmtstring) << a << b << c;
> >
> > What is the type of result2?
>
> This could require "operator auto".
Indeed, but since we don't have it yet, not even in the form of papers under
consideration, it's not an option for library features being developed.
-- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel DPG Cloud Engineering
Received on 2021-05-06 14:27:01