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