rcpp_framework/libs/brynet/base/NonCopyable.hpp

13 lines
216 B
C++

#pragma once
class NonCopyable {
public:
NonCopyable(const NonCopyable &) = delete;
const NonCopyable &operator=(const NonCopyable &) = delete;
protected:
NonCopyable() = default;
~NonCopyable() = default;
};