This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
[maybe ot] how to initialize a class member vector type?
- From: Christian Schäfer <caefer at krachstoff dot net>
- To: gcc-help at gcc dot gnu dot org
- Date: Thu, 5 Dec 2002 13:04:44 +0100
- Subject: [maybe ot] how to initialize a class member vector type?
- Reply-to: Christian Schäfer <caefer at krachstoff dot net>
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