Should scope(exit) be valid outside of a scope?

Adam Ruppe destructionator at gmail.com
Tue May 11 19:02:16 PDT 2010


On Tue, May 11, 2010 at 06:56:52PM -0700, S wrote:
> static if doesn't create a new scope.   You should use that instead and
> a debug version.

But you can't static if based on a runtime value.


More information about the Digitalmars-d mailing list