libzypp: zypp-core/base/NonCopyable.h Source File

libzypp 17.38.11

NonCopyable.h
Go to the documentation of this file.
1/*---------------------------------------------------------------------\
2| ____ _ __ __ ___ |
3| |__ / \ / / . \ . \ |
4| / / \ V /| _/ _/ |
5| / /__ | | | | | | |
6| /_____||_| |_| |_| |
7| |
8\---------------------------------------------------------------------*/
11#ifndef ZYPP_BASE_NONCOPYABLE_H
12#define ZYPP_BASE_NONCOPYABLE_H
13
14#include <boost/noncopyable.hpp>
15
17namespace zypp
18{
20 namespace base
21 {
22
26 using NonCopyable = boost::noncopyable;
27
29 } // namespace base
32} // namespace zypp
34#endif // ZYPP_BASE_NONCOPYABLE_H
zypp::base
Definition Random.cc:7
zypp::base::NonCopyable
boost::noncopyable NonCopyable
Ensure derived classes cannot be copied.
Definition NonCopyable.h:26
zypp
Easy-to use interface to the ZYPP dependency resolver.
Definition CodePitfalls.doc:2