20#ifndef PALUDIS_GUARD_PALUDIS_UTIL_WRAPPED_VALUE_HH
21#define PALUDIS_GUARD_PALUDIS_UTIL_WRAPPED_VALUE_HH 1
23#include <paludis/util/wrapped_value-fwd.hh>
25#include <paludis/util/operators.hh>
30 template <
typename T_>
42 template <
typename Tag_>
47 std::shared_ptr<const typename WrappedValueTraits<Tag_>::UnderlyingType> _value;
50 explicit WrappedValue(
55 WrappedValue & operator= (
const WrappedValue &);
56 WrappedValue(
const WrappedValue &);
61 bool operator< (
const WrappedValue &)
const PALUDIS_ATTRIBUTE((warn_unused_result));
62 bool operator== (
const WrappedValue &)
const PALUDIS_ATTRIBUTE((warn_unused_result));
#define PALUDIS_ATTRIBUTE(x)
Definition attributes.hh:53
#define PALUDIS_VISIBLE
Definition attributes.hh:59
Definition about_metadata-fwd.hh:24
Definition wrapped_value.hh:32
Definition wrapped_value-fwd.hh:32
Definition operators.hh:94