Boost logo

Boost :

From: Joaquín Mª López Muñoz (joaquin_at_[hidden])
Date: 2004-09-29 04:26:56

The following regressions in gcc-2.95.3-linux

are IMHO due to the fact that bad_alloc is defined in <new>,
and this header is not included by the corresponding test programs.
I'd say it's only out of sheer luck (dependant inclusions) that
these tests works for the rest of compilers, but I might be wrong.

In any case, #including <new> solves the problem. If noone
sees a problem with these patches, I'll commit them.

Joaquín M Lópz Muñoz
Telefónica, Investigación y Desarrollo

< #include <new>

< #include <new>

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