public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Christian Schäfer" <caefer@krachstoff.net>
To: gcc-help@gcc.gnu.org
Subject: [maybe ot] how to initialize a class member vector type?
Date: Thu, 05 Dec 2002 04:01:00 -0000	[thread overview]
Message-ID: <432529447.20021205130444@krachstoff.net> (raw)

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

             reply	other threads:[~2002-12-05 12:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-05  4:01 Christian Schäfer [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=432529447.20021205130444@krachstoff.net \
    --to=caefer@krachstoff.net \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).