/usr/include/globjects/base/HeapOnly.h is in libglobjects-dev 1.1.0-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 | #pragma once
#include <globjects/globjects_api.h>
namespace globjects
{
/** \brief The HeapOnly class
Restricts creation to heap
\see http://en.wikibooks.org/wiki/More_C%2B%2B_Idioms/Requiring_or_Prohibiting_Heap-based_Objects
*/
class GLOBJECTS_API HeapOnly
{
public:
HeapOnly();
void destroy() const;
protected:
virtual ~HeapOnly();
};
} // namespace globjects
|