Boost logo

Boost :

From: Greg Colvin (gcolvin_at_[hidden])
Date: 2001-08-22 10:41:22

From: John Max Skaller <skaller_at_[hidden]>
> Greg Colvin wrote:
> > It turns out that Windows does support alloca, that it
> > does allocate from the stack, and that it is safe to
> > use in C++ so long as you don't call it in a catch
> > clause expression.
> Thanks: that's an interesting constraint!
> (The EH relies on the frame pointer BP, not the
> stack pointer SP .. so what's special about catches?)

The documentation isn't clear on why.

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