Boost logo

Boost Users :

Subject: [Boost-users] Simple boost::python::dict question (I hope)
From: Tim Aerts (tim.aerts_at_[hidden])
Date: 2010-12-17 09:42:16


Hello,

I have a pretty urgent matter. Is it possible to add an element to a
Python's dict using boost::python?

I tried:

     extrafields["validated"] = "False";

With 'extrafields' in this case being a boost::python::dict

But that crashes. I hope this will be an easy one... :)

thx
Tim


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net