Home
C++
Bitset
Class
Console
Data Structure
Data Type
Deque
Development
File
Function
Generic
Language
List
Map Multimap
Overload
Pointer
Qt
Queue Stack
Set Multiset
STL Algorithms Binary search
STL Algorithms Heap
STL Algorithms Helper
STL Algorithms Iterator
STL Algorithms Merge
STL Algorithms Min Max
STL Algorithms Modifying sequence operations
STL Algorithms Non modifying sequence operations
STL Algorithms Sorting
STL Basics
String
Valarray
Vector
Menu
template class « Class « C++
C++
Class
template class
1.
template class with type parameter
2.
template class with generic parameter
3.
Demonstrate a very simple safe pointer class.
4.
A generic safe-array class that prevents array boundary errors.
5.
Get storage off stack for array
6.
template extending
7.
sequence template
8.
Template Version of Generic binary sorted Tree.
9.
template class with two generic parameters
10.
generic stack template class
11.
Using exceptions with templates.
12.
Passing by reference and using virtual functions in exceptions.
13.
Using Non-Type Arguments with Generic Classes
14.
Using Default Arguments with Template Classes
15.
Generic Classes: demonstrates a generic stack.
16.
An Example with Two Generic Data Types
17.
Applying Template Classes: A Generic Array Class
18.
Explicit Class Specializations for generic template class