[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: another arts problem
From: Nicolas HADACEK <azhyd () free ! fr>
Date: 2000-03-01 19:55:12
[Download RAW message or body]
On Wed, 1 Mar 2000, Stephan Kulow wrote:
> > It was neither STL nor the MCOP inheritance structure to blame. Rather,
> > declaring large amounts of data in conjunction with virtual inheritance
> > seems to be the problem. Things like
> >
> > class Foo: virtual public Bar {
> > public:
> > float x[100000];
> > };
> >
> > will fail, while declaring this as float *x, and using new will work.
> >
just a question to be sure of my knowledge :)
float x[1000] uses the stack
new float[1000] uses the heap
what do virtual tables use ?
Nicolas
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic