[phobos] FreeBSD 32 still fails unittests for std.datetime

Walter Bright walter at digitalmars.com
Mon May 2 23:00:21 PDT 2011


I see functions marked with "nothrow", but inside they have:

     try {
       ...
     }
     catch (Exception e)
     {
            assert(0, "FracSec's constructor threw when it shouldn't have");
     }

This is redundant, and adds significant bloat. The compiler will statically 
check that the nothrow is enforced for you.


More information about the phobos mailing list