search of a workaround

Namespace rswhite4 at googlemail.com
Sun Feb 10 06:41:03 PST 2013


On Sunday, 10 February 2013 at 08:38:23 UTC, monarch_dodra wrote:
> On Saturday, 9 February 2013 at 22:14:45 UTC, Namespace wrote:
>> Why isn't there 'const' in ParameterStorageClass?
>> How could I detect that my Parameter storage class is 'in'?
>
> It's an ambiguity in the term "StorageClass" in D, which is 
> different from "TypeQualifier". Const is part of the type. 
> "StorageClass" means modifiers when you pass to a function.

Parameter storage classes are in, out, ref, lazy, const, 
immutable, shared, inout or scope.
http://dlang.org/function.html


More information about the Digitalmars-d-learn mailing list