1 /*---------------------------------------------------------------------\
3 | |__ / \ / / . \ . \ |
8 \---------------------------------------------------------------------*/
9 /** \file zypp/base/NonCopyable.h
11 #ifndef ZYPP_BASE_NONCOPYABLE_H
12 #define ZYPP_BASE_NONCOPYABLE_H
14 #include <boost/noncopyable.hpp>
16 ///////////////////////////////////////////////////////////////////
18 { /////////////////////////////////////////////////////////////////
19 ///////////////////////////////////////////////////////////////////
21 { /////////////////////////////////////////////////////////////////
23 /** Ensure derived classes cannot be copied.
24 * Use private inheritance.
26 typedef boost::noncopyable NonCopyable;
28 /////////////////////////////////////////////////////////////////
30 ///////////////////////////////////////////////////////////////////
31 /////////////////////////////////////////////////////////////////
33 ///////////////////////////////////////////////////////////////////
34 #endif // ZYPP_BASE_NONCOPYABLE_H