Problems with vector definition
Oscar Fuentes
ofv@wanadoo.es
Tue Dec 28 14:26:00 GMT 2004
Juan Roberto Jiménez Pérez <rjimenez@ujaen.es> writes:
> Hi,
>
> i am trying to define a vector whose elements belong to class A:
This mailing list is about the development *of* gcc, not about
developing *with* gcc.
The appropriate forum for your question is the comp.lang.c++
newsgroup. You will raise your chances of obtaining help there if you
provide a minimal, self-containing, complete test case that shows your
problem. What you show in your message is not enough for being sure
about what the problem is, although I'll say to you that std::vector
requires a public copy constructor for the type it holds.
[snip]
--
Oscar
More information about the Gcc
mailing list