rcpp_fw_static/libs/brynet/base/NonCopyable.hpp

16 lines
302 B
C++

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