[Issue 6055] New: multiple problems with static dtor and ctors in spec

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed May 25 09:07:10 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=6055

           Summary: multiple problems with static dtor and ctors in spec
           Product: D
           Version: D2
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: websites
        AssignedTo: nobody at puremagic.com
        ReportedBy: schveiguy at yahoo.com


--- Comment #0 from Steven Schveighoffer <schveiguy at yahoo.com> 2011-05-25 09:02:53 PDT ---
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.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list