]> git.lyx.org Git - lyx.git/blobdiff - src/support/RandomAccessList.h
hopefully fix tex2lyx linking.
[lyx.git] / src / support / RandomAccessList.h
index 2e419bd7001491cdf87cf52fdd3069dc1a6d3200..22c0572e192a82443259cd334cf77c6efc6dbe81 100644 (file)
@@ -21,6 +21,9 @@
 #include <list>
 #include <algorithm>
 
+
+namespace lyx {
+
 #define USE_OLD_ITERATOR 1
 
 /// Random Access List.
@@ -31,7 +34,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 +279,7 @@ private:
        IterCont iterCont_;
 };
 
+
+} // namespace lyx
+
 #endif