https://bugs.llvm.org/show_bug.cgi?id=51899
Richard Smith <richard-l...@metafoo.co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Richard Smith <richard-l...@metafoo.co.uk> ---
This behaviour is correct. Default template arguments are only used if the
template argument is not specified and can't be deduced. Here we can deduce
First = int from the given function signature.
See https://eel.is/c++draft/temp.deduct.decl
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs