Boost logo

Boost :

Subject: Re: [boost] [linux drivers] Is it possible to use boost in a Linux driver?
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2009-01-14 08:00:40

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.

Boost list run by bdawes at, gregod at, cpdaniel at, john at