digitalmars.D - scope classes mentioned in tutorials, but deprecated
- Timothee Cour via Digitalmars-d (2/2) Aug 21 2014 http://dlang.org/cpptod.html#raii mentions scope class and scope variabl...
- Brad Anderson (3/6) Aug 21 2014 https://github.com/D-Programming-Language/dlang.org/pull/637
- Jacob Carlborg (5/11) Aug 22 2014 How about we undeprecate it instead. If I recall correctly then DDMD
- bearophile (6/8) Aug 22 2014 I think the idea is to discourage their usage as much as possible
- Daniel Murphy (4/6) Aug 22 2014 It's listed as 'future', so it's not actually deprecated. While DDMD do...
- Jacob Carlborg (5/9) Aug 22 2014 Fair enough.
- Gary Willoughby (2/8) Aug 22 2014 Didn't know about std.typecons.scoped. Nice!
http://dlang.org/cpptod.html#raii mentions scope class and scope variables, which seem deprecated (http://dlang.org/deprecate.html)
Aug 21 2014
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
Aug 21 2014
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:How about we undeprecate it instead. If I recall correctly then DDMD depends on it. -- /Jacob Carlborghttp://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
Aug 22 2014
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
Aug 22 2014
"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 necessary. I'd much rather see it reinstated along with proper escape checking.
Aug 22 2014
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.Fair enough. -- /Jacob Carlborg
Aug 22 2014
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:Didn't know about std.typecons.scoped. Nice!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
Aug 22 2014