20 #ifndef PALUDIS_GUARD_PALUDIS_UTIL_SEQUENCE_HH 21 #define PALUDIS_GUARD_PALUDIS_UTIL_SEQUENCE_HH 1 26 #include <paludis/util/wrapped_forward_iterator-fwd.hh> 27 #include <paludis/util/wrapped_output_iterator-fwd.hh> 49 template <
typename T_>
53 Pimp<Sequence<T_> > _imp;
59 typedef T_ value_type;
60 typedef T_ & reference;
61 typedef const T_ & const_reference;
71 Sequence(
const Sequence &) =
delete;
72 Sequence & operator= (
const Sequence &) =
delete;
79 typedef SequenceConstIteratorTag<T_> ConstIteratorTag;
80 typedef WrappedForwardIterator<ConstIteratorTag, const T_> ConstIterator;
85 typedef SequenceReverseConstIteratorTag<T_> ReverseConstIteratorTag;
86 typedef WrappedForwardIterator<ReverseConstIteratorTag, const T_> ReverseConstIterator;
90 typedef SequenceInserterTag<T_> InserterTag;
91 typedef WrappedOutputIterator<InserterTag, T_> Inserter;
92 Inserter back_inserter();
106 void push_back(const T_ &);
107 void push_front(const T_ &);
112 template <typename C_>
113 void sort(const C_ &);
Definition: about_metadata-fwd.hh:23
#define PALUDIS_ATTRIBUTE(x)
Definition: attributes.hh:53
#define PALUDIS_VISIBLE
Definition: attributes.hh:59