www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 2556] New: Property classinfo needs better documentation (RTTI, typeof, typeid, runtime type information)

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2556

           Summary: Property classinfo needs better documentation (RTTI,
                    typeof, typeid, runtime type information)
           Product: D
           Version: unspecified
          Platform: All
               URL: http://www.digitalmars.com/d/1.0/property.html
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: helmutduregger gmx.at
OtherBugsDependingO 677
             nThis:


The documentation at http://www.digitalmars.com/d/1.0/property.html does not
list classinfo at all.

The description at http://www.digitalmars.com/d/1.0/phobos/object.html is
difficult to find for beginners and it is unclear how to compare for equality
or derived classes (the doc about opCmp mentions a runtime error for
Object.opCmp, and it is unclear what Object.opEqual compares).

http://www.prowiki.org/wiki4d/wiki.cgi?HowTo/RealtimeTypeInformation mentions
ClassInfo's property .name which seems reasonable for checking equality.


-- 
Jan 05 2009
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2556


Walter Bright <bugzilla digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla digitalmars.com
         Resolution|                            |FIXED



12:21:38 PST ---
http://www.dsource.org/projects/phobos/changeset/2143

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