Given:
struct A
{
template
A(int i)
{
T t;
// ...
}
};
How to call any of those constructors?
b*****e 发帖数: 22
2
constructors and conversion functions do not have a name, as far as compiler
is concerned. Therefore the templates cannot be instantiated explicitly.
Implicit instantiation is obviously also out of question.