[C++-sig] working with raw const pointers

Gennadiy Rozental rogeeff at gmail.com
Thu Jul 17 20:59:19 CEST 2008


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? 
2. Do I Need to submit bug report for this to be fixed in trunk?

Gennadiy




More information about the Cplusplus-sig mailing list