← Back to index
|
Original Bugzilla link
Bug 2366 – Const member function syntax is missing
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dlang.org
Product
D
Version
D2
Platform
All
OS
All
Creation time
2008-09-18T06:39:00Z
Last change time
2015-06-09T01:20:16Z
Keywords
spec
Assigned to
bugzilla
Creator
dfj1esp02
Comments
Comment #0
by dfj1esp02 — 2008-09-18T06:39:03Z
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.
Comment #1
by bugzilla — 2008-10-04T22:44:03Z
I'll add it to const3.
Comment #2
by bugzilla — 2008-10-20T22:23:58Z
Fixed dmd 2.020