C + + object model

Source: Internet
Author: User

What is the C + + object model?

To understand it, it is necessary to combine the object-oriented features and concepts of the C + + language with the underlying technology of the object.

The former such as constructors, copy and assignment functions, destructors, static members, virtual functions, inheritance, composition, dynamic creation of objects, Rtti, and so on.

The latter is the hidden details of the language implementation, such as the memory image of the object, the construction of the vtable, the timing of the insertion and initialization of the vptr, the timing of the automatic invocation of the structure and the destructor, the construction and the destruction of the object, the creation and destroy of the temporary object, and the implementation techniques of the RTTI.

Object Model Reference book: "Inside the C + + object Model"

C + + object model

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.