CppCMS

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

noncopyable.h
1 //
2 // Copyright (C) 2009-2012 Artyom Beilis (Tonkikh)
3 //
4 // Distributed under the Boost Software License, Version 1.0. (See
5 // accompanying file LICENSE_1_0.txt or copy at
6 // http://www.boost.org/LICENSE_1_0.txt)
7 //
8 #ifndef BOOSTER_NONCOPYABLE_H
9 #define BOOSTER_NONCOPYABLE_H
10
11 namespace booster {
15 class noncopyable {
16 private:
17 noncopyable(noncopyable const &);
18 noncopyable const &operator=(noncopyable const &);
19 protected:
20 noncopyable(){}
21 ~noncopyable(){}
22 };
23 }
24
25 #endif
booster
Booster library namespace. The library that implements Boost Like API in ABI backward compatible way...
Definition: application.h:23
booster::noncopyable
This class makes impossible to copy any class derived from this one.
Definition: noncopyable.h:15