'const' and 'in' parameter storage classes

ref2401 via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri May 15 09:04:31 PDT 2015


What is the difference between 'const' and 'in' parameter storage 
classes?
When should I use 'const' or 'in'?

The documentation says 'in' is the same as 'const scope' but I 
can't write 'const scope ref' though it's legal to write 'in ref'.

Thank you


More information about the Digitalmars-d-learn mailing list