Is there any way to use C#-like constructor syntax in C++ when you have multiple constructors for the same class, for example:
class complex
{
public:
double re, im;
complex(double r, double i)
{
re = r;
im = i;
}
complex():this(0.0d,0.0d)
{
}
};
this particular example didn't seem to work, but is there any ?