simpledisplay

Andrej Mitrovic andrej.mitrovich at gmail.com
Tue Dec 11 03:01:26 PST 2012


http://www.digitalmars.com/d/archives/digitalmars/D/simple_display_from_GUI_library_for_D_134213.html#N134213

http://arsdnet.net/dcode/simpledisplay.d
http://arsdnet.net/dcode/simpledisplay_test2.d

Note that these can no longer be used on win32 because the entire
core.sys.windows.windows has been marked as nothrow. I've tried
changing simpledisplay's functions to all be nothrow, but even with
that I can't compile that test sample because it uses delegates which
call functions that can throw (e.g. writeln). Nothrow propagates
*everywhere*, it's extremely hard to write code which is
nothrow-compatible..

IOW, what was the point in marking everything as nothrow
(https://github.com/D-Programming-Language/druntime/pull/225)? It just
breaks code and adds zero benefit..


More information about the Digitalmars-d mailing list