CppCMS
booster/noncopyable.h
00001 //
00002 //  Copyright (C) 2009-2012 Artyom Beilis (Tonkikh)
00003 //
00004 //  Distributed under the Boost Software License, Version 1.0. (See
00005 //  accompanying file LICENSE_1_0.txt or copy at
00006 //  http://www.boost.org/LICENSE_1_0.txt)
00007 //
00008 #ifndef BOOSTER_NONCOPYABLE_H
00009 #define BOOSTER_NONCOPYABLE_H
00010 
00011 namespace booster { 
00015         class noncopyable {
00016         private:
00017                 noncopyable(noncopyable const &);
00018                 noncopyable const &operator=(noncopyable const &);
00019         protected:
00020                 noncopyable(){}
00021                 ~noncopyable(){}
00022         };
00023 }
00024 
00025 #endif