digitalmars.D.learn - Pointer to constructor
- Toshiaki Takada (5/5) Oct 29 2014 Hi Folks,
- Adam D. Ruppe (3/3) Oct 29 2014 You can access constructors just like any other method if you use
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
Oct 29 2014
You can access constructors just like any other method if you use the __ctor name. So like &MyClass.__ctor.
Oct 29 2014