#ifndef PARAGRAPH_LIST_FWD_H
#define PARAGRAPH_LIST_FWD_H
-#include <list>
-#include <utility>
+#include "paragraph.h"
-class Paragraph;
+#include <vector>
-typedef std::list<Paragraph> ParagraphList;
-
-typedef std::pair<ParagraphList::iterator, int> PitPosPair;
+class ParagraphList : public std::vector<Paragraph>
+{
+public:
+ ///
+ typedef std::vector<Paragraph> BaseType;
+ ///
+ ParagraphList();
+ ///
+ template <class Iter>
+ ParagraphList(Iter beg, Iter end)
+ : BaseType(beg, end)
+ {}
+};
#endif