Scope const

Jarrett Billingsley jarrett.billingsley at gmail.com
Sat Apr 11 09:00:34 PDT 2009


On Sat, Apr 11, 2009 at 5:33 AM, Kagamin <spam at here.lot> wrote:
> If "in" is equivalent to "scope const". What "scope" means? Does it mean that this argument doesn't escape scope of this function? Then "const" parameters are not quite equivalent to "in" parameters.
>

Someone else correct me if I'm wrong, but the definition of 'in' as
'scope const' is a vestige from the original const system that was in
D2 and 'scope' no longer really means anything.


More information about the Digitalmars-d-learn mailing list