C++ Tip: Make Your Class Non-Copyable Without Boost

Introduction There are times where an object should never be passed by copy but by reference or pointer. For instance, the class has a data member (like counter or mutex) which should not be duplicated. In this tip, we take a look at 2 techniques which declare¬†the class to be non-copyable without resorting to usingContinue reading “C++ Tip: Make Your Class Non-Copyable Without Boost”