Phobos - breaking existing code

Daniel Murphy via Digitalmars-d digitalmars-d at puremagic.com
Fri Nov 28 16:20:48 PST 2014


"H. S. Teoh via Digitalmars-d"  wrote in message 
news:mailman.2435.1417218926.9932.digitalmars-d at puremagic.com...

> Perhaps what we need is, after a symbol has passed the deprecation
> cycle, replace its original definition with a static assert(0).
> Something like this:

I think @disabled with a custom message would be perfect for this.  static 
assert only works for templates. 



More information about the Digitalmars-d mailing list