July 25, 2008 The function parameter storage classes: in, final and const | ||||
---|---|---|---|---|
| ||||
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 |
Copyright © 1999-2021 by the D Language Foundation