[C++-sig] working with raw const pointers
David Abrahams
dave at boostpro.com
Thu Jul 17 21:13:36 CEST 2008
on Thu Jul 17 2008, Gennadiy Rozental <rogeeff-AT-gmail.com> wrote:
> David Abrahams <dave <at> boostpro.com> writes:
>> > Problem II. Vector fails completely
>> >
>> > Following python statements
>> >
>> > vec = pytoolkit.make_vec();
>> > for e in vec: pass
>> >
>> > produce
>> >
>> > TypeError: No to_python (by-value) converter found
>> > for C++ type: class A const *
>>
>> This has something to do with the vector_indexing_suite.
>> Probably we could add a remove_const somewhere and get
>> it to work.
>
> 1. Any workaround to make it work within bounds of boost 1.33.1?
I don't know, and don't have time to find out.
> 2. Do I Need to submit bug report for this to be fixed in trunk?
Probably.
--
Dave Abrahams
BoostPro Computing
http://www.boostpro.com
More information about the Cplusplus-sig
mailing list