| Subject: | Re: class in a QList |
|---|---|
| From: | Malte Witt |
| Date: | Mon, 9 Oct 2006 12:11:00 +0200 |
> I know that. Maybe I should have expressed myself in a better way. I > want to store a pointer to an _uninitialised class_. This cannot work, because the memory is allocated in the "new" statement. So there is no way to have a pointer to the memory before it is allocated. (Somewhat a chicken-egg problem ;-) You can either put dummies in your for-loop or come up with another approach ;-) Regards, Malte -- To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with "unsubscribe" in the subject or the body. List archive and information: http://lists.trolltech.com/qt-interest/ |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: class in a QList, Andreas Pakulat |
|---|---|
| Next by Date: | Re: class in a QList, Robin Ericsson |
| Previous by Thread: | Re: class in a QList, Tim Beaulen |
| Next by Thread: | Re: class in a QList, Yves Bailly |
| Indexes: | [Date] [Thread] [Top] [All Lists] |