in / out for C++ programmers
Ali Çehreli
acehreli at yahoo.com
Sat Mar 24 00:22:10 PDT 2012
On 03/24/2012 12:18 AM, Jonathan M Davis wrote:
> Apparently, scope parameters aren't currently checked at all, so they're
> _very_ buggy:
>
> http://d.puremagic.com/issues/show_bug.cgi?id=6931
>
> - Jonathan M Davis
Thank you. I take it that 'scope' is a way of a function to promise that
it will not hold on to that reference longer than the function call. In
this sense, 'scope' means "the caller may pass in variables of *even*
scope duration."
That makes sense to me. :)
Ali
More information about the Digitalmars-d-learn
mailing list