Boost logo

Boost :

From: JOAQUIN LOPEZ MU?Z (joaquin_at_[hidden])
Date: 2005-09-13 16:13:38


Boost.Serialization tries to be BOOST_NO_EXCEPTIONS-compatible,
as it uses boost::throw_exception to throw, but
alas the lib does not build when setting the macro,
since archive_exception (boost/archive/archive_exception.hpp)
is only defined ifndef(BOOST_NO_EXCEPTIONS), so that
expressions like

boost::throw_exception(
  archive_exception(archive_exception::unregistered_class));

fail to compile. AFAICS it'd only take for archive_exception
to be defined in all cases.

Best regards,

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk