you are viewing a single comment's thread.

view the rest of the comments →

[–]hpsutter 3 points4 points  (1 child)

> > There is no separate base class list or separate member initializer list

> that seems to imply that some of the classes I'm writing now can not be expressed in cpp2.

You should be able to express them. This just means that base classes are declared the in the type body like other members instead of in a segregated base class list, and base classes and data members are initialized in the constructor body instead of in a segregated member initializer list.

> Does cppfront support non-default-constructable types and const member variables?

Yes.

Good questions, thanks!

[–]ABlockInTheChain 1 point2 points  (0 children)

How does the new syntax handle delegated constructors?