C++ Logo

std-proposals

Advanced search

Re: Down with "template"! (up with the turbofish)

From: Ivan Matek <libbooze_at_[hidden]>
Date: Sat, 9 Oct 2021 18:56:25 +0200
On Fri, Oct 8, 2021 at 9:10 PM Jean-Baptiste Vallon Hoarau via
Std-Proposals <std-proposals_at_[hidden]> wrote:

> I think that the Rust "turbofish" syntax provides an elegant alternative,
> which consists of having the token "::" preceding the template parameters
> list.
>
> As a noob Rust person only place where I find C++ syntax superior to Rust
is no need for :: before < , so from readability perspective I would hate
this change.

Received on 2021-10-09 11:56:40