Programing IN C++
What is an explicit constructor?
A conversion constructor declared with the explicit keyword.
The compiler does not use an explicit constructor to implement an implied
conversion of types. Its purpose is reserved explicitly for construction.
What is the Standard Template Library?
A library of container templates approved by the ANSI
committee for inclusion in the standard C++ specification.
An applicant who then launches into a discussion of the
generic programming model, iterators, allocators, algorithms, and such, has a
higher than average understanding of the new technology that STL brings to C++
programming.
Describe run-time type identification.
The ability to determine at run time the type of an object
by using the typeid operator or the dynamic_cast operator.
What problem
does the namespace feature solve?
Multiple providers of libraries might use common global
identifiers causing a name collision when an application tries to link with two
or more such libraries. The name-space feature surrounds a library’s external
declarations with a unique namespace that eliminates the potential for those
collisions.
This solution assumes that two library vendors don’t use the
same namespace, of course.
Are there any
new intrinsic (built-in) data types?
Yes. The ANSI committee added the bool intrinsic type and
its true and false value keywords and the wchar_t data type to support
character sets wider than eight bits.