core dumped when adding to vector

Dan Kegel dank@kegel.com
Mon Jun 27 00:04:00 GMT 2005


Anakreon wrote:
> I have an enum called protocol_states and a vector<protocol_state> which 
> contains
> some elements. When I call the insert method of an other empty 
> vector<protocol_state>
> in order to copy the elements of the first vector, a core dumped occurs.

Send a fully self-contained test program that we can compile
and run, please.
- Dan

-- 
Trying to get a job as a c++ developer?  See http://kegel.com/academy/getting-hired.html



More information about the Libstdc++ mailing list