[Issue 2366] New: Const member function syntax is missing

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Sep 18 04:39:05 PDT 2008


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 at digitalmars.com
        ReportedBy: terranium at 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.


-- 



More information about the Digitalmars-d-bugs mailing list