DConf 2013 Day 3 Talk 2: Code Analysis for D with AnalyzeD by Stefan Rohe

Andrej Mitrovic andrej.mitrovich at gmail.com
Wed Jun 12 13:23:34 PDT 2013


On 6/12/13, Adam D. Ruppe <destructionator at gmail.com> wrote:
> No easy way to do this automatically though because the compiler
> doesn't even know what a function can throw. You'd just have to
> do it manually.

Are you sure? A compiler can tell whether a function /can/ throw
(hence why nothrow works), so I assume it has information on where an
exception is thrown.

I think it'd be nice if we added this ability to ddoc, having to
manually do it often means the documentation being out of date.


More information about the Digitalmars-d-announce mailing list