At 21:18 2002-10-12 +0200, you wrote:
Hi all,

in which segment are static members of C++ class stored? Is it the first
segment or that one where this class is defined?
Static class data members aren't stored in a segment -- its data, and there is only one data section (usually). With CodeWarrior V8 and expanded mode, static data members may be in the expanded section if they are declared const.

Static methods of a class are stored in whatever section is associated with the file in which they are defined. Inlined methods that are generated as real functions, rather than inlined into your code, will usually appear in segment 1, along with other compiler-generated functions.

--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com


--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Reply via email to