January 25, 2006 Const/ReadOnly template | ||||
---|---|---|---|---|
| ||||
I am aware that D does not provide const method parameters like C++ does. However, it would seem very reasonable to me that this could be done with a Const or ReadOnly template. Just allow read only access to the data. Maybe someone that is good with D templates could do this. -Craig |
Copyright © 1999-2021 by the D Language Foundation