public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* [maybe ot] how to initialize a class member vector type?
@ 2002-12-05  4:01 Christian Schäfer
  2002-12-05  4:28 ` [maybe ot] how to initialize a class member vector type? 2 Christian Schäfer
  0 siblings, 1 reply; 3+ messages in thread
From: Christian Schäfer @ 2002-12-05  4:01 UTC (permalink / raw)
  To: gcc-help

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-12-05 12:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-05  4:01 [maybe ot] how to initialize a class member vector type? Christian Schäfer
2002-12-05  4:28 ` [maybe ot] how to initialize a class member vector type? 2 Christian Schäfer
2002-12-05  4:31   ` Michal Lipták

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).