Bug 6055 – multiple problems with static dtor and ctors in spec

Status
NEW
Severity
enhancement
Priority
P4
Component
dlang.org
Product
D
Version
D2
Platform
Other
OS
All
Creation time
2011-05-25T09:02:53Z
Last change time
2024-12-15T15:21:50Z
Keywords
spec, trivial
Assigned to
No Owner
Creator
Steven Schveighoffer
Moved to GitHub: dlang.org#3935 →

Comments

Comment #0 by schveiguy — 2011-05-25T09:02:53Z
First, in the module.html file, the (shared) static ctor/dtor links all go to the class.html file. Second, in the class.html static ctor/dtor description , it specifies that the static ctor/dtor runs on program startup and termination, when actually it runs on thread startup and termination. It also does not clearly state how shared static ctor/dtors are run once at program startup/termination. Third, the description of static ctor/dtor in module.html does not have any examples! I think most of the description for static ctor/dtor functions should be moved to the module file, and let the class-specific version reference that, and describe how class-specific static ctor/dtors are different.
Comment #1 by github-bugzilla — 2012-01-24T01:18:35Z
Comment #2 by bugzilla — 2012-01-24T01:19:56Z
Added a fix for the class.html error. The reorg is an enhancement.
Comment #3 by robert.schadek — 2024-12-15T15:21:50Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dlang.org/issues/3935 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB