- Identity, state, and behavior.
- When moving objects instead of copying, we omit the creation of temporary variables.
- There aren't any differences between a struct and a class in C++ except the default access modifier. This is public for the struct, and private for the class.
- In the case of aggregation, the class that contains an instance or instances of other classes could be instantiated without the aggregate. The composition, on the other hand, expresses strong containment.
- Private inheritance hides the inherited members from the client code of the derived class. Protected inheritance does the same, but allows the derived classes in the chain to have access to those members.
- Typically, an introduction of a virtual function leads to augmenting the class with addition data members pointing to the table of virtual functions. Usually, that adds up to 4 or 8 bytes...
United States
Great Britain
India
Germany
France
Canada
Russia
Spain
Brazil
Australia
Singapore
Hungary
Philippines
Mexico
Thailand
Ukraine
Luxembourg
Estonia
Lithuania
Norway
Chile
South Korea
Ecuador
Colombia
Taiwan
Switzerland
Indonesia
Cyprus
Denmark
Finland
Poland
Malta
Czechia
New Zealand
Austria
Turkey
Sweden
Italy
Egypt
Belgium
Portugal
Slovenia
Ireland
Romania
Greece
Argentina
Malaysia
South Africa
Netherlands
Bulgaria
Latvia
Japan
Slovakia