[C++-sig] Added to a vector_indexing_suite container in python

Jeff Holle jeff.holle at verizon.net
Sat Jun 19 05:54:38 CEST 2004


I am using gcc 3.2 and boost 1_31_0.

In my application, I'm using python is a consumer of data created in C++ 
and housed in vectors wrapped
with vector_indexing_suite.

Now I want to create some Python scripts that are data producers for 
test purposes, but can't seem to be able to populate these containers.

I've noted that a 'append' method is exposed, trying this doesn't add to 
the container.
Attempting to use 'myContainer[0] = something' causes an illegal 
indexing exception on an empty container...

Am I missing something?

Do I have to add my own methods independent of the vector_indexing_suite?




More information about the Cplusplus-sig mailing list