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