/usr/include/CLHEP/RefCount/ZMhandleTo.h is in libclhep-dev 2.1.4.1+dfsg-1.
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 | #ifndef ZMHANDLETO_H
#define ZMHANDLETO_H
// ----------------------------------------------------------------------
//
// ZMhandleTo.h - generic handle class for objects that need to be
// reference-counted
//
// History:
// 19-Sep-1997 WEB Design stolen, and code adapted, from
// Stroustrup: "The C++ Programming Language, 3rd edition" (1997), p 783
// Koenig & Moo: "Ruminations on C++" (1996), ch 7
//
// ----------------------------------------------------------------------
#ifndef ZMUSECOUNT_H
#include "CLHEP/RefCount/ZMuseCount.h"
#endif
template< class T >
class ZMhandleTo {
public:
ZMhandleTo();
ZMhandleTo( const ZMhandleTo & h );
~ZMhandleTo();
ZMhandleTo & operator=( const ZMhandleTo & rhs );
protected:
ZMhandleTo( const T & t );
ZMhandleTo( const T * t );
ZMuseCount u_;
T * rep_;
}; // ZMhandleTo<>
#include "CLHEP/RefCount/ZMhandleTo.icc"
#endif // ZMHANDLETO_H
|