/usr/include/stxxl/bits/noncopyable.h is in libstxxl-dev 1.4.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 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | /***************************************************************************
* include/stxxl/bits/noncopyable.h
*
* Inspired by boost::noncopyable.
*
* Part of the STXXL. See http://stxxl.sourceforge.net
*
* Copyright (C) 2007 Andreas Beckmann <beckmann@mpi-inf.mpg.de>
*
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE_1_0.txt or copy at
* http://www.boost.org/LICENSE_1_0.txt)
**************************************************************************/
#ifndef STXXL_NONCOPYABLE_HEADER
#define STXXL_NONCOPYABLE_HEADER
#include <stxxl/bits/config.h>
#include <stxxl/bits/namespace.h>
#if STXXL_BOOST_CONFIG
#include <boost/noncopyable.hpp>
#endif
STXXL_BEGIN_NAMESPACE
#if STXXL_BOOST_CONFIG
typedef boost::noncopyable noncopyable;
#else
class noncopyable
{
protected:
noncopyable() { }
private:
// copying and assignment is not allowed
noncopyable(const noncopyable&);
const noncopyable& operator = (const noncopyable&);
};
#endif
STXXL_END_NAMESPACE
#endif // !STXXL_NONCOPYABLE_HEADER
|