Date: Thu, 10 Apr 2025 11:40:23 +0200
Hi Frederick,
Isn't this a rather small problem to face? Granted an annoying one when it
occurs, but just not needing to add a single std::forward call in the one
appropriate line doesn't seem to be worth a language change, and one that
makes references harder to read, making it more confusing for beginners as
well, as we'd have &, && *and* &&& which doesn't really follow the rules of
the previous 2.
Op do 10 apr 2025 om 11:02 schreef Frederick Virchanza Gotham via
Std-Proposals <std-proposals_at_[hidden]>:
> On Thu, Apr 10, 2025 at 9:53 AM Frederick Virchanza Gotham wrote:
> >
> > template<typename T>
> > bool ProcessNode(T &&arg)
>
>
> I meant to return void.
> --
> Std-Proposals mailing list
> Std-Proposals_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals
>
Isn't this a rather small problem to face? Granted an annoying one when it
occurs, but just not needing to add a single std::forward call in the one
appropriate line doesn't seem to be worth a language change, and one that
makes references harder to read, making it more confusing for beginners as
well, as we'd have &, && *and* &&& which doesn't really follow the rules of
the previous 2.
Op do 10 apr 2025 om 11:02 schreef Frederick Virchanza Gotham via
Std-Proposals <std-proposals_at_[hidden]>:
> On Thu, Apr 10, 2025 at 9:53 AM Frederick Virchanza Gotham wrote:
> >
> > template<typename T>
> > bool ProcessNode(T &&arg)
>
>
> I meant to return void.
> --
> Std-Proposals mailing list
> Std-Proposals_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals
>
-- Rhidian De Wit Software Engineer - Barco
Received on 2025-04-10 09:40:40