Linux -Blue forest free software | Return to home page | Site Map | Search WWW | Contact Us |
Your current position : Homepage > Free Software > Technological exchanges >Application Programming


    

Blue Forest http://www.lslnet.com at 10:18 on June 6, 2006


Embedded static object when released?

Class X (
Static int a;
Sci 14.00
     };
Static Yb;
};
When we released X objects, static of a and b are not released, is not only targeted at the X were all released and procedures will be released at the end of a and b, b and thus calling the destructor function? Please give pointers!

Embedded static object when released?

X objects, and it does not matter which member of the static, it is not part of the layout of objects in memory. Object is shared by all. You can type directly to modify it, of course, you can still use obj. Forms to use it). In your statement static membership category, is not defined. So you need outside of the definition of its type. So at the end of the procedure when analyzing the structure will be off target.

Embedded static object when released?

You can understand from a static object storage to its survival in the region.

Only after release from the process.

Embedded static object when released?

Thanks!



 Privacy Policy  Copyright © 1999-2000 LSLNET.COM. All rights reserved. Blue Forest website owners. E-mail : Webmaster@lslnet.com