This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: Problems with vector definition


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


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