This file is indexed.

/usr/share/netgen/libsrc/general/autoptr.hpp is in netgen-headers 4.9.13.dfsg-8build2.

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
#ifndef FILE_AUTOPTR
#define FILE_AUTOPTR

/**************************************************************************/
/* File:   autoptr.hpp                                                    */
/* Author: STL, Joachim Schoeberl                                         */
/* Date:   29. Dec. 02                                                    */
/**************************************************************************/

namespace netgen
{

template <typename T>
class AutoPtr
{
private:
  T * ptr;
public:
  typedef T* pT;
  explicit AutoPtr (T * p = 0)  { ptr = p; }
  ~AutoPtr () { delete ptr; }
  
  T & operator*() const { return *ptr; }
  T* operator->() const { return ptr; }
  T *& Ptr() { return ptr; }
  T * Ptr() const { return ptr; }
  void Reset(T * p = 0) { if (p != ptr) { delete ptr; ptr = p; } }
  operator bool () { return ptr != 0; }
private:
  AutoPtr (AutoPtr &) { ; }
  AutoPtr & operator= (AutoPtr &) { ; }
};

}

#endif