|
Boost Users : |
Subject: [Boost-users] boost::throw_exception(...) behaviour and use case
From: Arindam Mukherjee (arindam.mukerjee_at_[hidden])
Date: 2014-05-22 11:24:14
I was wondering what behaviour or idiom does boost::throw_exception
enable. I must be dense but the documentation here
(http://www.boost.org/doc/libs/1_55_0/libs/exception/doc/throw_exception.html)
does not immediately ring a bell. Is it meant to somehow help write
code that runs both in environments where exceptions are enabled and
where they are not? Since the structure of code that does not use
exception handling tends to be quite different from that which does, I
was wondering what's a correct idiomatic use of Boost. Of course I am
aware that my basic assumption might be incorrect.
Thanks,
Arindam
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net