On Fri, 20 May 2011 20:42:26 +0300, Sean Kelly <[email protected]> wrote:

The compiler can translate this into a single construction (it does in C++), but I don't know that it's required to.

If not, i don't know any other use for constructors, you can do the almost same thing with a function.

struct A {
}

A construct() {
}

void main() {
        A a = construct();
}

Reply via email to