What is the meaning of a C++ Wrapper Class?

A “wrapper class” is a de facto term meaning a class that “wraps around” a resource; i.e, that manages the resource. When people write a wrapper, then, they are doing something like this: This class manages (“wraps”) a pointer to an int. All resources should be wrapped in some fashion, for cleanliness (no explicit clean … Read more

What is a wrapper class?

In general, a wrapper class is any class which “wraps” or “encapsulates” the functionality of another class or component. These are useful by providing a level of abstraction from the implementation of the underlying class or component; for example, wrapper classes that wrap COM components can manage the process of invoking the COM component without … Read more