Impressed
Jacob Carlborg
doob at me.com
Thu Jul 26 23:56:22 PDT 2012
On 2012-07-27 08:41, Jonathan M Davis wrote:
> On Friday, July 27, 2012 08:36:17 Jacob Carlborg wrote:
>> On 2012-07-27 02:25, Jonathan M Davis wrote:
>>> scope on local variables is going to be deprecated, because it's unsafe.
>>> scope on function parameters and scope statements are here to stay.
>>
>> "scope" on class declarations as well.
>
> I didn't even know that you could do that, and I have no idea what that would
> do.
If I recall correctly it forces you do use "scope" when declaring a
variable of the class.
http://dlang.org/class.html#auto
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list