C++ Logo

STD-PROPOSALS

Advanced search

Subject: [std-proposals] Template syntax to 'auto' parameters
From: Phil Bouchard (phil_at_[hidden])
Date: 2020-03-01 22:26:28


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>


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

Standard Proposals Archives on Google Groups