On Fri, 10 Oct 2014 02:58:39 -0700 Walter Bright via Digitalmars-d <[email protected]> wrote:
> Default constructors are baked into C++. I can't escape the
> impression that the desire for D default constructors comes from more
> or less trying to write C++ style code in D.
second this. people also keep forgetting about default values and want
default constructors to simulate this:
struct {
int n = 42;
string s = "default string";
}
signature.asc
Description: PGP signature
