Boost logo

Boost :

From: Richard Crossley (rdc_at_[hidden])
Date: 2006-05-22 07:41:02


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.

Regards,

Richard.


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