mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-14 04:57:21 +01:00
16 lines
302 B
C++
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;
|
|
};
|
|
|
|
} } |