SimulationCraft
SimulationCraft is a tool to explore combat mechanics in the popular MMO RPG World of Warcraft (tm).
|
helper class to make a class non-copyable More...
#include <generic.hpp>
Protected Member Functions | |
noncopyable (noncopyable &&)=default | |
noncopyable & | operator= (noncopyable &&)=default |
noncopyable (const noncopyable &)=delete | |
noncopyable & | operator= (const noncopyable &)=delete |
helper class to make a class non-copyable
To make your class A non-copyable, define it as such: class A : private noncopyable {}