Generic classes can be created using a template with an anonymous type.
![]() |
||||||||||||||||||||
|
"exact phrase" include -exclude
will give you more specific results |
Class templates - C++ [1/1]
Generic classes can be created using a template with an anonymous type.
A class created from a class template is called a template class. The general format for defining an object of a template class is shown above. The process of creating a specific class from a class template is called instantiation. The compiler performs error checking after the instantiation of a class. So it is better to debug an ordinary class before converting it into a template. The figure illustrates the concept behind class template.
|
RECOMMENDED TUTORIALS
Need a specific tutorial? Do not hesitate and submit a request! |
||||||||||||||||||
| Related Tags:
templates - C++ templates C++ " |
||||||||||||||||||||
|
Home | Sitemap |
Terms & Privacy
© ONLINEHOWTO.net 2006 - 2008 |
||||||||||||||||||||