> |         colinfo_.insert(colinfo_.begin() + newcol);
> | -----------------^
> 
> I am not sure what this is supposed to do.
> What is it supposed to insert?
> 
> Probably:
> 
> colinfo_.insert(colinfo_.begin() + newcol, ColInfo());

>From CD2  23.2.4  (I could check with the Standard tomorrow at work):

  iterator insert(iterator position, const T& x = T());

But the workaround using an explicit default-constructed object is fine
with me.

Andre'

-- 
André Pönitz ............................................. [EMAIL PROTECTED]

Reply via email to