www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 2366] New: Const member function syntax is missing

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

           Summary: Const member function syntax is missing
           Product: D
           Version: 2.019
          Platform: All
               URL: http://digitalmars.com/d/2.0/const3.html
        OS/Version: All
            Status: NEW
          Keywords: spec
          Severity: normal
          Priority: P2
         Component: www.digitalmars.com
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: terranium yandex.ru


A small example of const member function declaration in docs is desired
here http://digitalmars.com/d/2.0/const3.html
or here http://digitalmars.com/d/2.0/function.html
or here http://digitalmars.com/d/2.0/class.html

Also here http://digitalmars.com/d/2.0/declaration.html#FunctionAttributes
function attributes are limited to pure and nothrow, while const is also a
function attribute.


-- 
Sep 18 2008
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2366





------- Comment #1 from bugzilla digitalmars.com  2008-10-04 22:44 -------
I'll add it to const3.


-- 
Oct 04 2008
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2366


bugzilla digitalmars.com changed:

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




------- Comment #2 from bugzilla digitalmars.com  2008-10-20 22:23 -------
Fixed dmd 2.020


-- 
Oct 20 2008