Boost logo

Boost :

From: John Max Skaller (skaller_at_[hidden])
Date: 2001-08-21 16:50:53


williamkempf_at_[hidden] wrote:
>
> --- In boost_at_y..., John Max Skaller <skaller_at_m...> wrote:
> > Greg Colvin wrote:
> >
> > > And such an animal can also be allocated in terms of alloca()
> > > or LocalAlloc() or such on systems on which this is a good idea.
> >
> > Does alloca() work in C++?
> > Can you be sure it won't mess generated code, including EH?
>
> Are you garaunteed it will? Nope. It works fine for my
> compiler/platform, however.

        You're running Windows: LocalAlloc is actually
a heap allocation. This is unlikely to mess with EH.
But unix alloca increments the stack pointer,
so it is more likely to mess up EH.

-- 
John (Max) Skaller, mailto:skaller_at_[hidden] 
10/1 Toxteth Rd Glebe NSW 2037 Australia voice: 61-2-9660-0850
New generation programming language Felix  http://felix.sourceforge.net
Literate Programming tool Interscript     
http://Interscript.sourceforge.net

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