This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: core dumped when adding to vector
- From: Dan Kegel <dank at kegel dot com>
- To: Anakreon <anakreonmejdi at yahoo dot gr>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Sun, 26 Jun 2005 16:57:01 -0700
- Subject: Re: core dumped when adding to vector
- References: <d9h3qn$osr$1@sea.gmane.org>
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