Scientific software development, stage lighting, and stuff

Archive for August, 2007

Mixing objects of different types in a Boost.python list

Wednesday, August 8th, 2007 Posted in Software development | No Comments »

Demonstration Code--mixing objects of different types in a Boost.python list In Python, a list is allowed to contain objects of various types. Using Python's introspection capabilities, it's easy to process a mixed list because you can just test each list ...