]> git.lyx.org Git - lyx.git/blobdiff - src/support/RandomAccessList.h
zipunzip.cpp: Replace makedir etc with versions in support::FileName, fix a bug in...
[lyx.git] / src / support / RandomAccessList.h
index 2e419bd7001491cdf87cf52fdd3069dc1a6d3200..fa37be9fd377fa2738e63ed8edb083a9ac3599e2 100644 (file)
 #ifndef RANDOM_ACESS_LIST_H
 #define RANDOM_ACESS_LIST_H
 
-//#include "debug.h"
-
-#include <boost/utility.hpp>
-
 #include <vector>
 #include <list>
-#include <algorithm>
+
+
+namespace lyx {
 
 #define USE_OLD_ITERATOR 1
 
@@ -31,7 +29,7 @@ keeps the std::list::iterator interface. A typical use would be:
 
        typedef RandomAccessList<some_class> MyContainer;
 
-Then you can use MyContainer as if it was a standard 
+Then you can use MyContainer as if it was a standard
 std::vector<some_class> for operator[] access and as if it was a
 standard std::list for iterator access. The main difference with
 std::vector is that insertion of elements is much less costly. Compared
@@ -276,4 +274,7 @@ private:
        IterCont iterCont_;
 };
 
+
+} // namespace lyx
+
 #endif