Sorry, my example was supposed to make it explicit where an implicit constructor call would happen in OP's code.
Type: Posts; User: anon
Sorry, my example was supposed to make it explicit where an implicit constructor call would happen in OP's code.
Number n;
int i;
n = Number(i);
That's where a Number object is implicitly constructed (unless you make the single-argument constructor explicit).