#define PARAGRAPH_LIST_H
#include <iterator>
+#include <utility>
class Paragraph;
///
void push_back(Paragraph *);
///
- Paragraph const * back() const;
+ Paragraph const & front() const;
///
- Paragraph * back();
+ Paragraph & front();
+ ///
+ Paragraph const & back() const;
+ ///
+ Paragraph & back();
///
int size() const;
///
Paragraph * parlist;
};
+
+
+typedef std::pair<ParagraphList::iterator, int> PitPosPair;
+
+
+
///
bool operator==(ParagraphList::iterator const & i1,
ParagraphList::iterator const & i2);
bool operator!=(ParagraphList::iterator const & i1,
ParagraphList::iterator const & i2);
+
#endif