/usr/include/libxml++-2.6/libxml++/noncopyable.h is in libxml++2.6-dev 2.40.1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | /* noncopyable.h
* libxml++ and this file are
* copyright (C) 2000 by The libxml++ Development Team, and
* are covered by the GNU Lesser General Public License, which should be
* included with libxml++ as the file COPYING.
*/
#ifndef __LIBXMLPP_NONCOPYABLE_H
#define __LIBXMLPP_NONCOPYABLE_H
namespace xmlpp
{
/**
* A base for classes which cannot be copied.
*/
class NonCopyable
{
protected:
NonCopyable();
virtual ~NonCopyable();
NonCopyable(const NonCopyable&) = delete;
NonCopyable& operator=(const NonCopyable&) = delete;
};
} // namespace xmlpp
#endif //__LIBXMLPP_NONCOPYABLE_H
|