[dmd-internals] Bring constructor declarations back in C++ header files

Johan Engelen via dmd-internals dmd-internals at puremagic.com
Mon Jan 30 10:45:59 PST 2017

On Mon, Jan 30, 2017 at 5:18 PM, Martin Nowak via dmd-internals <
dmd-internals at puremagic.com> wrote:

> On 01/29/2017 10:43 PM, Johan Engelen via dmd-internals wrote:
> > Hi all,
> >   Why were the constructor declarations removed in the C++ header files
> > in 2.072?
> Because classes are always constructed by D code.

I was hoping there was a better reason than that.

> Guess it was simply an oversight.
> How about deleting default constructors (like needs some alternative
> macro for dmc support)?

Also works.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/dmd-internals/attachments/20170130/3e9db345/attachment.html>

More information about the dmd-internals mailing list