Last change
on this file was
5675,
checked in by westram, 17 years ago
|
- removed automatic timestamps (the best they were good for, were vc-conflicts)
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
1.3 KB
|
Line | |
---|
1 | // ==================================================================== // |
---|
2 | // // |
---|
3 | // File : arbtools.h // |
---|
4 | // Purpose : small general purpose helper classes // |
---|
5 | // // |
---|
6 | // // |
---|
7 | // Coded by Ralf Westram (coder@reallysoft.de) in August 2003 // |
---|
8 | // Copyright Department of Microbiology (Technical University Munich) // |
---|
9 | // // |
---|
10 | // Visit our web site at: http://www.arb-home.de/ // |
---|
11 | // // |
---|
12 | // // |
---|
13 | // ==================================================================== // |
---|
14 | |
---|
15 | #ifndef ARBTOOLS_H |
---|
16 | #define ARBTOOLS_H |
---|
17 | |
---|
18 | // Base class for classes that may not be copied, neither via copy |
---|
19 | // constructor or assignment operator. |
---|
20 | |
---|
21 | class Noncopyable { |
---|
22 | Noncopyable(const Noncopyable&); |
---|
23 | Noncopyable& operator=(const Noncopyable&); |
---|
24 | public: |
---|
25 | Noncopyable() {} |
---|
26 | }; |
---|
27 | |
---|
28 | |
---|
29 | #else |
---|
30 | #error arbtools.h included twice |
---|
31 | #endif // ARBTOOLS_H |
---|
32 | |
---|
Note: See
TracBrowser
for help on using the repository browser.