August 17, 2001 Static Constructor syntax | ||||
---|---|---|---|---|
| ||||
Quick suggestion: since constructors and destructors have such simple, elegant syntax -- this() and ~this() -- why should static [de]constructors be treated any differently? static this() and static ~this() seem much better suited, and much purtier, IMHO. - Brent |
August 18, 2001 Re: Static Constructor syntax | ||||
---|---|---|---|---|
| ||||
Posted in reply to Brent Schartung | Yes, you're right, it does look better. Brent Schartung wrote in message <9lk86b$2jg9$1@digitaldaemon.com>... >Quick suggestion: since constructors and destructors have such simple, >elegant syntax -- this() and ~this() -- why should static [de]constructors >be treated any differently? > > static this() and static ~this() > >seem much better suited, and much purtier, IMHO. > > - Brent > > |
Copyright © 1999-2021 by the D Language Foundation