export keyword

seany via Digitalmars-d digitalmars-d at puremagic.com
Tue Jun 24 02:34:43 PDT 2014


Also, while we are at it,

does d support declarations like:

class C {

public :

int a;
string b;
double c;

}

etc? If not, could this be implemented in a future version? i.e. 
are there ideas to do so? that would have been nice.

and could I as well write

class C2{

auto x

this(T)(T y)
{
    this.x = y;
}

}

This would help me, for example, to use a single definition, to 
cover, e.g. int and double, and not write them twice - as in 
usual overload...


More information about the Digitalmars-d mailing list