In the template specialization, it will make the template to be specific for some data types.
There are three types of constructor in C++. They are Default constructor, Parameterized constructor, Copy constructor.
As the name itself implies, it have to depend on other class only.
C++ allows us to parameterize directly three kinds of entities through templates: types, constants, and templates.
new and delete operators are mainly used to allocate and deallocate
during runtime.
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.
Comments
There are no comments.Copyright ©CuriousTab. All rights reserved.