Can the template parameters of a constructor be explicitly specified?

No. The C++03 standard says:

[Note: because the explicit template argument list follows the function template name, and
because conversion member function templates and constructor member function templates are called without using a function name, there is no way to provide an explicit template argument list for these function templates.] (ยง14.5.2/5)

Leave a Comment