Boost logo

Boost :

From: Matthias Troyer (troyer_at_[hidden])
Date: 2006-05-22 10:46:36


On May 22, 2006, at 1:41 PM, Richard Crossley wrote:

> Hi,
>
> Using CVS HEAD with VC8 fails when writing out an empty std::vector as
> T* get_data(STD::vector<T,Allocator>& v) attempts to access element 0.
>
> Looks to me as if the optimized versions of save() and load() for
> std::vector in vector.hpp should be checking the vector size first.

Thanks. I've fixed it in my local copy and will commit it as soon as
the connection problems to sourceforge stop.

Matthias


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