21 #ifndef PALUDIS_GUARD_PALUDIS_UTIL_CLONE_HH 22 #define PALUDIS_GUARD_PALUDIS_UTIL_CLONE_HH 1 45 template <
typename T_>
55 virtual std::shared_ptr<T_> clone()
const PALUDIS_ATTRIBUTE((warn_unused_result)) = 0;
74 template <
typename Base_,
typename Child_>
79 virtual std::shared_ptr<Base_> clone()
const PALUDIS_ATTRIBUTE((warn_unused_result));
Definition: about_metadata-fwd.hh:23
#define PALUDIS_ATTRIBUTE(x)
Definition: attributes.hh:53
#define PALUDIS_VISIBLE
Definition: attributes.hh:59