Update of /cvsroot/boost/boost/libs/python/test
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv1868/libs/python/test

Modified Files:
        vector_indexing_suite.cpp vector_indexing_suite.py 
Log Message:
added test for vector<string>

Index: vector_indexing_suite.cpp
===================================================================
RCS file: /cvsroot/boost/boost/libs/python/test/vector_indexing_suite.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- vector_indexing_suite.cpp   11 Aug 2004 02:21:27 -0000      1.8
+++ vector_indexing_suite.cpp   22 Jun 2006 13:33:45 -0000      1.9
@@ -53,5 +53,10 @@
     class_<std::vector<bool> >("BoolVec")
         .def(vector_indexing_suite<std::vector<bool> >())
     ;
+    
+    // vector of strings
+    class_<std::vector<std::string> >("StringVec")
+        .def(vector_indexing_suite<std::vector<std::string> >())
+    ;
 }
 

Index: vector_indexing_suite.py
===================================================================
RCS file: /cvsroot/boost/boost/libs/python/test/vector_indexing_suite.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- vector_indexing_suite.py    11 Aug 2004 02:21:27 -0000      1.8
+++ vector_indexing_suite.py    22 Jun 2006 13:33:46 -0000      1.9
@@ -322,6 +322,12 @@
 [ a b c d e f g h i j ]
 
 #####################################################################
+# vector of strings
+#####################################################################
+>>> sv = StringVec()
+>>> sv.append('a')
+
+#####################################################################
 # END.... 
 #####################################################################
 


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to