// Function parameters, sound, clear and clean //

Robert Jacques sandford at jhu.edu
Tue May 4 13:09:36 PDT 2010


On Tue, 04 May 2010 16:51:57 -0400, Rick Trelles <RTrelles at bellsouth.net>  
wrote:
[snip]

I'd recommend reading the D language documentation on the Digital Mars  
website.

in, out, ref and lazy are on the functions page:  
http://www.digitalmars.com/d/2.0/function.html
const, immutable, scope, inout are all listed on the attribute page:    
http://www.digitalmars.com/d/2.0/attribute.html
For more info on const/immutable theres  
http://www.digitalmars.com/d/2.0/const-faq.html,  
http://www.digitalmars.com/d/2.0/const3.html and  
http://www.digitalmars.com/d/2.0/migrate-to-shared.html
Lazy also has it's own article  
(http://www.digitalmars.com/d/2.0/lazy-evaluation.html)

And final can no longer be applied to function parameters. It used to mean  
you couldn't reassign to a declared variable.


More information about the Digitalmars-d mailing list