Creating a Wrapper Class in C++

  • Topic: C/C++ 
  • Thread starter shwanky
  • Start date
  • Tags Tags
    C++ Class
3 replies · 3K views · last reply
shwanky
Messages
43
Reaction score
0
Can anyone give me a simple example of how to creating a wrapper class in C++? Or maybe a link to a tutorial would also do.
 
The assignment I have is t write a wrapper class for a templated singly linked list.
 
Ok. Now according to you:
(1) What purpose does a C++ template serve?

(2) How does it interact in itz environment. Give a life cycle description, if you can.