
1 May
2012
1 May
'12
2:43 p.m.
Did you also notice in my other post that my suggested correction was, in fact, wrong? I am terribly sorry about that. You actually need this: explicit complex(const T& re = T(), const T& im = T());
Geez! How many times can I get it wrong? I'm making a fool of myself here. It's non-explicit and the default params are not zero, but rather the default ctor of the template type. complex(const T& re = T(), const T& im = T()); It's time for me to take a break... Best regards, Chris.