C++ Logo

std-proposals

Advanced search

Re: [std-proposals] D3077R0 Proposal of static_cast shorthand: <T>(x) DRAFT 1

From: Jason McKesson <jmckesson_at_[hidden]>
Date: Fri, 29 Dec 2023 19:40:37 -0500
On Fri, Dec 29, 2023 at 4:30 PM Andrew Tomazos via Std-Proposals
<std-proposals_at_[hidden]> wrote:
>
> Please find attached a short 2-page proposal:
>
> D3077R0 Proposal of static_cast shorthand: <T>(x) DRAFT 1
> https://isocpp.org/files/papers/D3077R0.pdf
>
> Feedback appreciated.
> -Andrew

1 `static_cast` per C++ file is actually not that much (especially
without some sense of how many lines of code are in the average C++
file). It's *certainly* not enough to burn precious syntax on a
contracted form.

Received on 2023-12-30 00:40:51