This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: core dumped when adding to vector


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]