|
Code:
|
class Thing {
int a_;
public Thing(a) {
a_ = a;
}
public Thing() {
Thing(0); //This line doesn't work.
} |
How can I call a different version of a constructor from another constructor?
I could put the code in a private helpconstructor function, but I prefer something easier.