/usr/include/libxml++-2.6/libxml++/noncopyable.h is in libxml++2.6-dev 2.36.0-2ubuntu1.
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 30 31 32 33 34 | /* 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
{
/**
* Herited by classes which cannot be copied.
*/
class NonCopyable
{
protected:
NonCopyable();
virtual ~NonCopyable();
private:
//These are not-implemented.
//They are just here so we can declare them as private
//so that this, and any derived class, do not have
//copy constructors.
NonCopyable(const NonCopyable&);
NonCopyable& operator=(const NonCopyable&);
};
} // namespace xmlpp
#endif //__LIBXMLPP_NONCOPYABLE_H
|