October 30, 2014 Pointer to constructor | ||||
---|---|---|---|---|
| ||||
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 |
October 30, 2014 Re: Pointer to constructor | ||||
---|---|---|---|---|
| ||||
Posted in reply to Toshiaki Takada | You can access constructors just like any other method if you use the __ctor name. So like &MyClass.__ctor. |
Copyright © 1999-2021 by the D Language Foundation