Top "Template-argument-deduction" questions

Template argument deduction is a compiler attempt to deduce template arguments when some are omitted.

template argument deduction with strongly-typed enumerations

If I have a normal (weak) enumeration, I can use its enumerated values as non-type template parameters, like so: enum { …

c++ templates c++17 strong-typing template-argument-deduction
Template deduction for function based on its return type?

I'd like to be able to use template deduction to achieve the following: GCPtr<A> ptr1 = GC::Allocate(); …

c++ templates template-argument-deduction
What are template deduction guides and when should we use them?

The C++17 standard introduces "template deduction guides". I gather they're something to do with the new template argument deduction for …

c++ templates c++17 c++-faq template-argument-deduction
template function call with empty angle brackets <>

I am confused with the below template behavior, where it compiles fine with the empty angle brackets (template without parameters) …

c++ templates template-argument-deduction