soui 5.0.0.1
Soui5 Doc
 
Loading...
Searching...
No Matches
SNoCopyable.hpp
1#ifndef _NO_COPYABLE_H_
2#define _NO_COPYABLE_H_
3
4#include <utilities-def.h>
5SNSBEGIN
6 /**
7 * Inheriate this class to make your class cannot be copy and assign.
8 *
9 */
10 class UTILITIES_API SNoCopyable
11 {
12 public:
13 SNoCopyable() {}
14 ~SNoCopyable() {}
15 private:
16 SNoCopyable(const SNoCopyable &);
17 const SNoCopyable &operator=(const SNoCopyable &);
18 };
19
20SNSEND
21
22#endif//_NO_COPYABLE_H_