[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SV: Source update 2



> Another thing - g++ gave me errors at occurrences of
>      catch (bad_alloc)
> in the pp::internal namespace. I had to change it to
>      catch (std::bad_alloc)
> "using namespace std;"
> didn't work. Is that a problem with VC++ (you mentioned some C stdlib
> functions not being in the std namespace) ?
>
Ahh, that's ok. bad_alloc IS in the std namespace if you include new. Its
just stuff like std::strlen() and std::memcpy() that doesn't work.