[C++-sig] Re: tutorial html files out of date?

Mike Rovner mike at nospam.com
Wed Nov 5 23:56:11 CET 2003


Ralf W. Grosse-Kunstleve wrote:
> The quickstart.txt file (in boost/libs/python/doc/tutorial/doc) seems

Here is a small syntax typo patch:

Index: libs/python/doc/tutorial/doc/quickstart.txt
===================================================================
RCS file: /cvsroot/boost/boost/libs/python/doc/tutorial/doc/quickstart.txt,v
retrieving revision 1.19
diff -u -r1.19 quickstart.txt
--- libs/python/doc/tutorial/doc/quickstart.txt 1 Sep 2003 03:12:34 -0000
1.19
+++ libs/python/doc/tutorial/doc/quickstart.txt 5 Nov 2003 22:31:20 -0000
@@ -1658,8 +1658,8 @@
 Now, our C++ Wrapper:

     class_<F>("Field")
-        .property("pions", range(&F::p_begin, &F::p_end))
-        .property("bogons", range(&F::b_begin, &F::b_end));
+        .add_property("pions", range(&F::p_begin, &F::p_end))
+        .add_property("bogons", range(&F::b_begin, &F::b_end));

 [page Exception Translation]
===================================================================

Also I noticed that arg() construction is not covered. :(

Mike







More information about the Cplusplus-sig mailing list