The function parameter storage classes: in, final and const

Dave B. nospam at thankyou.com
Fri Jul 25 06:20:00 PDT 2008


What is the difference between the function parameter classes in final 
and const?
Quoting the specification (http://www.digitalmars.com/d/2.0/function.html):
"The in storage class is equivalent to const scope".
So why do we need both of them? and what is the usage of final?

Thanks
Dave


More information about the Digitalmars-d-learn mailing list