If an error occurs in program, then only exception object is created otherwise, It will not be created. So it?s expensive to use in the program.
new and delete operators are mainly used to allocate and deallocate
during runtime.
C++ allows us to parameterize directly three kinds of entities through templates: types, constants, and templates.
In the template specialization, it will make the template to be specific for some data types.
:As these are standard exceptions, they need to be defined in the standard block, So it is defined under namespace std.
With the help of RTTI, We can get the information about the data type at the runtime.
Comments
There are no comments.Copyright ©CuriousTab. All rights reserved.