C++ Logo

std-proposals

Advanced search

Template syntax to 'auto' parameters

From: Phil Bouchard <phil_at_[hidden]>
Date: Sun, 1 Mar 2020 23:26:28 -0500
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,

-- 
*Phil Bouchard*
Founder
C.: (819) 328-4743
Fornux Logo <http://www.fornux.com>

Received on 2020-03-01 22:29:13