On 30/09/2010 03:41, Le_Forgeron wrote:
> I'm on something : a.resize(-1) in previous code (previous message) lead to:
>
> terminate called after throwing an instance of 'std::length_error'
> what(): vector::_M_fill_insert
> Abandon (core dumped)
>
>
> Looks like vector does not like negative resize (due to promoting int(32
> bits) to size_t after computation)
Thanks for tracking this down - please feel free to raise a bug on it.
-- Chris
Post a reply to this message
|