There are two formats for initializers in C++ as shown in the example that follows. The first format uses the traditional C notation. The second format uses constructor notation.
int foo = 123;
int bar (123);
Class hierarchies promote reuse in two ways. They are code sharing and interface sharing.
C++ provides a mechanism to ensure that a given function is limited to throwing only a specified list of exceptions. It is called as exception specification.
The ellipses operator can be represented as (?).
RTTI is available only for classes which are polymorphic, which means they have at least one virtual method.
Vectors are sequence containers representing arrays that can change in size.
Copyright ©CuriousTab. All rights reserved.