www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 878] New: template page, limitations section outdated: non-static member template functions are allowed

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

           Summary: template page, limitations section outdated: non-static
                    member template functions are allowed
           Product: D
           Version: 1.00
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: www.digitalmars.com
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: kamm incasoftware.de


In http://www.digitalmars.com/d/template.html in the 'Limitations' section it
is said that templates cannot be used to add non-static members or functions to
classes. That is outdated.

Maybe add a comment that member templates can't be virtual instead.


-- 
Jan 23 2007
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=878


kamm incasoftware.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE







*** This bug has been marked as a duplicate of 566 ***


-- 
Jan 29 2007