/usr/include/openbabel-2.0/openbabel/shared_ptr.h is in libopenbabel-dev 2.3.0+dfsg-3ubuntu3.
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 | /**********************************************************************
shared_ptr.h - shared_ptr class.
Copyright (C) Copyright (C) 2007 by Chris Morley
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation version 2 of the License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
***********************************************************************/
#ifndef OB_SHARED_PTR_H
#define OB_SHARED_PTR_H
#ifdef USE_BOOST
#include <boost/shared_ptr.hpp>
#define shared_ptr boost::shared_ptr
#else
#include <memory>
#if __GNUC__ == 4 //&& __GNUC_MINOR__ < 3 removed at the suggestion of Konstantin Tokarev
#include <tr1/memory>
#endif
using std::tr1::shared_ptr;
#endif
#endif // OB_SHARED_PTR_H
/// @file shared_ptr.h
/// @brief Shared pointer.
|