Boost logo

Boost :

Subject: Re: [boost] [linux drivers] Is it possible to use boost in a Linux driver?
From: Vicente Botet Escriba (vicente.botet_at_[hidden])
Date: 2009-01-14 09:41:50


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-driver--tp21441037p21457224.html
Sent from the Boost - Dev mailing list archive at Nabble.com.

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