version(deprecated)?
monarch_dodra
monarchdodra at gmail.com
Sun Nov 4 23:45:50 PST 2012
On Sunday, 4 November 2012 at 22:30:31 UTC, Jonathan M Davis
wrote:
> [SNIP]
>
> Actually, if you use static if with __traits(compiles, blah) to
> check whether
> the deprecated bit compiles, then you could do it without
> version(deprecated),
> but it may be worth adding version(deprecated) just the same.
>
> - Jonathan M Davis
I had thought of that, but the problem is that if you
accidentally break "blah", you're going to get blind-sided...
More information about the Digitalmars-d
mailing list