Login
From:
www.foonathan.net
(Uncensored)
subscribe
Function templates - deduce template arguments or pass explicitly?
https://www.foonathan.net/2016/11/template-argument-deduction/
links
backlinks
Roast topics
Find topics
Find it!
If you're using a function template you don't need to pass in the arguments explicitly, the compiler can deduce them. But does this deduction always do what you want? Is there a way to prevent or require it?