= 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
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
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__"
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
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
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
someone else run
it also, just to be redundant.
--Dan Nuffer
___
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
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
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