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

Christian Schäfer caefer@krachstoff.net
Thu Dec 5 04:01:00 GMT 2002


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



More information about the Gcc-help mailing list