Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Wrapper Classes

  1. Mar 8, 2008 #1
    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.
  2. jcsd
  3. Mar 8, 2008 #2
    Are you wrapping primitives or classes?
  4. Mar 8, 2008 #3
    The assignment I have is t write a wrapper class for a templated singly linked list.
  5. Mar 9, 2008 #4
    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.
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?

Similar Discussions: Wrapper Classes
  1. Creating a class (Replies: 2)

  2. Class conundrum (Replies: 4)

  3. Classes and objects (Replies: 6)

  4. Pointers and classes (Replies: 1)