[boost] Boost.Python

2002-11-06 Thread Dan Nuffer
= owclient.OW_String("a") >>> s.concat(owclient.OW_String("b")) >>> s.c_str() 'ab' >>> s.concat("c") Traceback (most recent call last): File "", line 1, in ? TypeError: bad argument type for built-in operation Any ideas why this didn't work? Thanks! --Dan Nuffer ___ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Re: [boost] Boost.Python

2002-11-07 Thread Dan Nuffer
David Abrahams wrote: Dan Nuffer <[EMAIL PROTECTED]> writes: 2. Is is possible to wrap member functions which take a variable number of arguments (e.g. int format(const char* fmt, ...); ) ? I tried .def("format", &OW_String::format) but that doesn't work. Not d

Re: [boost] Boost.Python

2002-11-07 Thread Dan Nuffer
David Abrahams wrote: Dan Nuffer <[EMAIL PROTECTED]> writes: 6. How can I get python indexing and slicing to work on OW_String? I couldn't see any information about this in the docs. The same way you do it in Python: supply a "__getitem__" and a "__getslice__"

Re: [boost] Boost.Python

2002-11-07 Thread Dan Nuffer
David Abrahams wrote: Dan Nuffer <[EMAIL PROTECTED]> writes: 8. When I exposed the OW_String(const char*) and OW_String(char) constructors, python would always call OW_String(char) instead of OW_String(const char*). Is this intentional or a bug? I just removed the OW_String(char) const

Re: [boost] Boost.Python

2002-11-07 Thread Dan Nuffer
David Abrahams wrote: Dan Nuffer <[EMAIL PROTECTED]> writes: 10. I added implicitly_convertible(); It compiled fine, but it didn't work: >>> import owclient >>> s = owclient.OW_String("a") >>> s.concat(owclient.OW_String("b")) >&g

Re: [boost] regex linking error gcc 2.95 solaris 2.8, stlport

2002-12-02 Thread Dan Nuffer
t::reg_expression, _STL::allocator >::reg_expression(char const *, unsigned int, _STL::allocator const &) --Dan Nuffer ___ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Re: [boost] SourceForge Vandalism

2002-12-04 Thread Dan Nuffer
someone else run it also, just to be redundant. --Dan Nuffer ___ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Re: [boost] SourceForge Vandalism

2002-12-04 Thread Dan Nuffer
ed: what happens if you get hit by a truck, or just decide you don't like boost anymore? We lose our wiki. It'd be good if someone else could make redundant backups of it. --Dan Nuffer ___ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Re: [boost] SourceForge Vandalism

2002-12-07 Thread Dan Nuffer
ve got the wiki backup available? I'll also attach my simple script for anyone else who may want to use it. --Dan Nuffer do_boost_backup.sh Description: Bourne shell script ___ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost