Boost logo

Boost :

From: Adrien Hernot (amh_at_[hidden])
Date: 2001-04-02 10:04:33


for version 1_21_1
in pointers.html:

in "if you can't (afford to) copy ..."
the code example contains the strings "&gt" and "&lt" because of a ';' (semicolon) missing
should be ">" and "<"

in "[In/]Out Parameters and ..."
const int f_wrapper(int in_x) { f(in_x); return in_x; }
                                  ^^^^
                                  should be "&in_x", isn't it ?

Also, at the very beginning of the file, in the list of
pointers converted automatically, the first item (pointer to wrapped class instances)
is dangerous, and that should be clearly said IMHO.
By dangerous, I mean that:
   void test::f(test *p) { delete p; }
will be converted silently, but crash the python interpreter it the passed pointer is
a python variable.

Adrien


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk