Subject: Re: [std-proposals] Operator for reference casting
From: Thiago Macieira (thiago_at_[hidden])
Date: 2021-01-16 17:32:50
On Saturday, 16 January 2021 09:27:05 PST Jason McKesson via Std-Proposals
> My understanding is that one of the problems of `std::forward` is that
> heavy usage of it actually impacts compile times, to the point where
> some libraries just do the whole `static_cast` bit directly. So it's
> not *just* a matter of verbosity.
What's stopping compilers from fixing this? One has to assume that once lexed,
there's no reason for it to not apply the same fast implementation to
std::forward as it would to static_cast.
-- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel DPG Cloud Engineering
STD-PROPOSALS list run by email@example.com
Standard Proposals Archives on Google Groups