git.stg.codes
/
stg.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge branch 'master' into naffanya-dev
[stg.git]
/
include
/
stg
/
noncopyable.h
1
#ifndef __NONCOPYABLE_H__
2
#define __NONCOPYABLE_H__
3
4
class NONCOPYABLE
5
{
6
protected:
7
NONCOPYABLE() {}
8
virtual ~NONCOPYABLE() {}
9
private: // emphasize the following members are private
10
NONCOPYABLE(const NONCOPYABLE &);
11
const NONCOPYABLE & operator=(const NONCOPYABLE &);
12
};
13
14
#endif