
Mathias Gaunard-2 wrote:
Stefan Seefeld wrote:
The one real argument unfortunately only alluded to is exception handling (stack unwinding). It would be nice to have a technically accurate description of the involved mechanism (let's take the now established C++ ABI for that) and discuss why it is hard / impossible to use in kernel code.
Contrary to popular belief, it is certainly not impossible. As a matter of fact, this has been done. You can have the whole C++ runtime in any kernel, including linux.
Using C++ without exceptions doesn't have much point anyway, since the point of C++ is RAII.
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Hi, IMO exceptions and RAII are orthogonal. The destructor will be called even if exceptions are not allowed. Vicente -- View this message in context: http://www.nabble.com/-linux-drivers--Is-it-possible-to-use-boost-in-a-Linux... Sent from the Boost - Dev mailing list archive at Nabble.com.