Hi, I have the following:
class foo : public std::map<std::string, std::string> { } BOOST_PYTHON_MODULE(foo_ext) { using namespace boost::python; class_<foo, bases<std::map>>("foo"); } The compiler complains that template arguments 1 and 2 are invalid. I'm certain my syntax is the problem. Can't anyone shed some light and help me correct my syntax? Thanks, Jeremy
_______________________________________________ Cplusplus-sig mailing list Cplusplus-sig@python.org http://mail.python.org/mailman/listinfo/cplusplus-sig