C++ Logo

STD-PROPOSALS

Advanced search

Subject: Re: [std-proposals] Template syntax to 'auto' parameters
From: language.lawyer_at_[hidden]
Date: 2020-03-01 22:35:42


Are you proposing to add http://eel.is/c++draft/dcl.decl#def:template,function,abbreviated ?

On 02/03/2020 07:26, Phil Bouchard via Std-Proposals wrote:
> Supposed we have the following syntax:
>
> template <typename T, typename U>
>
>     void foo(T t, U u)
>
>     {
>
>     }
>
>
> It could be simplified with:
>
>     void foo(auto t, auto u)
>
>     {
>
>     }
>
>
> (Please include my email in your replies)
>
>
> Regards,
>
>


STD-PROPOSALS list run by herb.sutter at gmail.com

Standard Proposals Archives on Google Groups