[C++-sig] [boost.python] char arrays in structs

Markus Schöpflin markus.schoepflin at comsoft.de
Tue Jul 5 10:12:45 CEST 2005


David Abrahams wrote:

> Markus Schöpflin <markus.schoepflin at comsoft.de> writes:

>> Is it to be expected that I do need a custom type converter for this?
>> Or do I miss something?

> It's "expected" in the sense that I never thought of implementing 
> automatic conversions for char arrays.

Ok, that's what I wanted to know.

> It should be possible to do, although that would probably get me into
> the position of implementing generalized array conversions (e.g. from
> Python lists).  It's a little bit messy and not something I can get to
> right away.

But it would be a nice thing to have. ;-)

Thanks, Markus




More information about the Cplusplus-sig mailing list