Possible duplicate:
C ++ call explicit template constructor
Hi,
template <typename T>
class testing
{
public:
template <typename R>
testing()
{
}
template <typename R>
testing(const R&)
{
}
};
What is the syntax for calling constructor A?
I will need a type that will be passed during the constructor call. Is there any way to call this? constructor B is a workaround, since I need to know the type not the whole object.
Thank,
Stephen
source
share