468,496 Members | 1,795 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,496 developers. It's quick & easy.

Memory Layout of a Object

Hi,

Can you please refer me the book (or link) which I should refer to for
memory layout of a object in c++. How the virtual table is used and
other such details i am interested to know.
If some one has writen article or paper on internals of c++ it will be
of great use for me.

Best Regards,
Subra

Jul 20 '06 #1
3 7225
ma*********@gmail.com wrote:
Can you please refer me the book (or link) which I should refer to for
memory layout of a object in c++. How the virtual table is used and
other such details i am interested to know.
If some one has writen article or paper on internals of c++ it will be
of great use for me.
Stanley Lippman, "Inside the C++ Object Model"

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
Jul 20 '06 #2
ma*********@gmail.com wrote:
Can you please refer me the book (or link) which I should refer to for
memory layout of a object in c++. How the virtual table is used and
other such details i am interested to know.
If some one has writen article or paper on internals of c++ it will be
of great use for me.
As the FAQ for this group describes at
http://www.parashift.com/c++-faq-lit....html#faq-20.4,
this sort of thing is mostly compiler-dependent, and the C++ Standard
leaves layout and such somewhat open so compiler writers can do the
best thing for their target platforms.

Cheers! --M

Jul 20 '06 #3
ma*********@gmail.com wrote:
Can you please refer me the book (or link) which I should refer to for
memory layout of a object in c++. How the virtual table is used and
other such details i am interested to know.
If some one has writen article or paper on internals of c++ it will be
of great use for me.
I have not personally read it but "Inside the C++ Object Model" by
Stanley Lippman is one that I have heard good things about.

http://www.amazon.com/gp/product/020...965237-0747837

--
Marcus Kwok
Replace 'invalid' with 'net' to reply
Jul 20 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

10 posts views Thread by Steven T. Hatton | last post: by
6 posts views Thread by \Frank\ | last post: by
3 posts views Thread by Peskov Dmitry | last post: by
reply views Thread by NPC403 | last post: by
3 posts views Thread by gieforce | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.