Real quick question this one... can someone please explain to me what a wrapper class is and what it is useful for? My tutorial book isn't very clear and for some reason I can't find a tutorial that will explain to me what one is!
This is in terms of "a wrapper to a container". My book seems to imply that it will help to manipulate a container such as vector or list, using data structures such as stack and queue. However I'm confused by this somewhat vague explanation - does this mean that the elements of the container are taken / used by the wrapper class in a queue / stack / (whatever) system?
If someone could show me some example code of a wrapper being implemented I get the feeling the visual aid would also be helpful - this is somat my book is also lacking. :-P
Thanks a lot :-)