Re: scope struct?

2011-10-23 Thread Christophe
Steve Teale , dans le message (digitalmars.D.learn:30117), a écrit : Is not needed because structs are inherently scope. I'm sure experienced D programmers do this all the time when they want something done on exit from a scope, but I never had, and maybe there are others who haven't,

Re: scope struct?

2011-10-17 Thread deadalnix
Nice trick ! However, in D, you have scope(exit) scope(success) and scope(failure) to do similar stuffs. I personally use both, on a case by case basis. Le 17/10/2011 06:47, Steve Teale a écrit : Is not needed because structs are inherently scope. I'm sure experienced D programmers do this