Re: scope classes mentioned in tutorials, but deprecated

2014-08-22 Thread Jacob Carlborg via Digitalmars-d
On 21/08/14 20:07, Brad Anderson wrote: On Thursday, 21 August 2014 at 17:55:19 UTC, Timothee Cour via Digitalmars-d wrote: http://dlang.org/cpptod.html#raii mentions scope class and scope variables, which seem deprecated (http://dlang.org/deprecate.html)

Re: scope classes mentioned in tutorials, but deprecated

2014-08-22 Thread bearophile via Digitalmars-d
Jacob Carlborg: How about we undeprecate it instead. If I recall correctly then DDMD depends on it. I think the idea is to discourage their usage as much as possible in user code, until (someday, perhaps) some memory area tracking system is implemented. Bye, bearophile

Re: scope classes mentioned in tutorials, but deprecated

2014-08-22 Thread Daniel Murphy via Digitalmars-d
Jacob Carlborg wrote in message news:lt6u0n$18mj$1...@digitalmars.com... How about we undeprecate it instead. If I recall correctly then DDMD depends on it. It's listed as 'future', so it's not actually deprecated. While DDMD does currently use it extensively, it can be replaced if

Re: scope classes mentioned in tutorials, but deprecated

2014-08-22 Thread Jacob Carlborg via Digitalmars-d
On 2014-08-22 10:37, Daniel Murphy wrote: It's listed as 'future', so it's not actually deprecated. Everyone is treating it as deprecated. While DDMD does currently use it extensively, it can be replaced if necessary. I'd much rather see it reinstated along with proper escape checking.

Re: scope classes mentioned in tutorials, but deprecated

2014-08-22 Thread Gary Willoughby via Digitalmars-d
On Thursday, 21 August 2014 at 18:07:31 UTC, Brad Anderson wrote: On Thursday, 21 August 2014 at 17:55:19 UTC, Timothee Cour via Digitalmars-d wrote: http://dlang.org/cpptod.html#raii mentions scope class and scope variables, which seem deprecated (http://dlang.org/deprecate.html)

scope classes mentioned in tutorials, but deprecated

2014-08-21 Thread Timothee Cour via Digitalmars-d
http://dlang.org/cpptod.html#raii mentions scope class and scope variables, which seem deprecated (http://dlang.org/deprecate.html)

Re: scope classes mentioned in tutorials, but deprecated

2014-08-21 Thread Brad Anderson via Digitalmars-d
On Thursday, 21 August 2014 at 17:55:19 UTC, Timothee Cour via Digitalmars-d wrote: http://dlang.org/cpptod.html#raii mentions scope class and scope variables, which seem deprecated (http://dlang.org/deprecate.html) https://github.com/D-Programming-Language/dlang.org/pull/637