"final" as function parameter attribute?

Johan Engelen via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Nov 21 07:14:31 PST 2015


On http://dlang.org/function.html, I read that "final" is a valid 
attribute/storage class for function parameters:

InOutX:
     auto
     TypeCtor
     final  <-- ??
     in
     lazy
     out
     ref
     scope

This looks like a documentation error, but perhaps it's not. I 
hope someone can explain what it means, or confirm that it is an 
error. If it really is a valid storage class for parameters, 
please help document it here: 
http://dlang.org/function.html#parameters

Thanks!

-Johan



More information about the Digitalmars-d-learn mailing list