This is the mail archive of the gcc-help@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]

[maybe ot] how to initialize a class member vector type?


hi all,

I have a class like the following:

class Bar
{
      private:
      vector<someObject> objects;
      ...
}

when I try to create an instance of it within my main().
I get an error by the linker.

in foo.o ... uninitialized copy<..>(..)

what does that mean? and how can I initialize that vector.
maybe a constructor issue?


regards
/Christian                   mailto:caefer@krachstoff.net

---


I propose that the following character sequence for joke markers:

:-)

                             19-Sep-82 11:44    Scott E  Fahlman


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