Pointer to constructor

2014-10-29 Thread Toshiaki Takada via Digitalmars-d-learn
Hi Folks, Quick question, how do I get pointer to a class constructor, let's say default constructor? I want to set it to AA, but couldn't find a way. Thanks! --Toshiaki

Re: Pointer to constructor

2014-10-29 Thread Adam D. Ruppe via Digitalmars-d-learn
You can access constructors just like any other method if you use the __ctor name. So like MyClass.__ctor.