This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 116a. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.

2024-12-19


2021. Function template redeclaration via alias template

Section: 13.7.7.2  [temp.over.link]     Status: dup     Submitter: Richard Smith     Date: 2014-10-15

See also issue 2025.

Given the declarations

   template<int> using T = int;
   template<typename U> void h(T<f(U())>);
   template<typename U> void h(T<g(U())>);

Does this declare one function template or two?

Rationale (November, 2014):

This issue is a duplicate of issue 1980.