Differences between "const Type function()" and "const(Type) function()"
bearophile via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Fri May 30 05:50:52 PDT 2014
francesco cattoglio:
> And why is "const(Foo) getQ" so much different? (e.g: this is
> an explicit cast, right?
In D the syntax for casts is "cast(something)somethingElse".
Bye,
bearophile
More information about the Digitalmars-d-learn
mailing list