DMD 2.000 alpha release

Deewiant deewiant.doesnotlike.spam at gmail.com
Mon Jun 18 01:50:01 PDT 2007


Walter Bright wrote:
> This is an alpha release to try out the const/final/invariant stuff.

Very nice, thanks! Some questions:

Should extern (C) functions with const parameters now include the const? I
notice you've added "in" to the C functions in Phobos, is that more correct?

Should the main function now take some const form of the command line arguments?

Will structs get constructors, as a struct seems to have under "Final Storage
Class"?

What's the difference between const and invariant member functions? The example
under "Invariant Member Functions" behaves the same whether it's invariant or const.

> Expect changes to this. Much more to come!

I'm waiting eagerly.

-- 
Remove ".doesnotlike.spam" from the mail address.



More information about the Digitalmars-d-announce mailing list