[gecode-users] ~Event nothrow issue
Filip Konvička
filip.konvicka at logis.cz
Mon Aug 17 14:48:43 CEST 2015
Hi,
I've tried compiling Gecode 4.4.0 with MSVC 2015 and it produces
warnings about ~Event being (implicitly) nothrow but throwing exceptions
at the same time.
I was thinking whether or not it is worth fixing in Gecode code, and
found this nice explanation:
http://denisbider.blogspot.cz/2015/07/exceptions-in-destructors-and-visual.html
I believe either noexcept(false) (portable but probably C++11 only
syntax) or throw(...) might help - possibly replacing "..." with
something reasonable.
Cheers,
Filip
More information about the users
mailing list