/usr/include/utilspp/singleton/PrivateMembers.inl is in libcurlpp-dev 0.7.3-5.
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 | template<typename T>
void
utilspp::PrivateMembers::Deleter<T>::deleteObject(T * obj)
{
delete obj;
}
template<typename T, typename TDestroyer>
utilspp::PrivateMembers::ConcreteLifetimeTracker<T, TDestroyer>::ConcreteLifetimeTracker(
T * obj, unsigned int longevity, TDestroyer d)
: LifetimeTracker(longevity)
, mTracked(obj)
, mDestroyer(d)
{}
template<typename T, typename TDestroyer>
utilspp::PrivateMembers::ConcreteLifetimeTracker<T, TDestroyer>::~ConcreteLifetimeTracker()
{
mDestroyer(mTracked);
}
template <typename T>
void
utilspp::PrivateMembers::adapter<T>::operator()(T*)
{
return (*mFunc)();
}
|