On Friday, 23 October 2015 at 09:19:44 UTC, Kagamin wrote:
On Thursday, 22 October 2015 at 23:24:57 UTC, Elie Morisse wrote:
Default constructors are invoked


Including class fields?

class A
{
  QString s_myFilename;
  this()
  {
    //is s_myFilename constructed already?
  }
}

That triggered my own assert, oops. It's fixed now, the field default ctor is called if the field has no initializer, just before A's ctor.

Reply via email to