>http://language-binding.net/_downloads/smart_ptrs.zip contains a >working example. You can download it and study.
Thanks Roman for your guidance, I have studied the example and also succesfully used it in python script. My next doubt is how did you generate the binding.cpp, becouse I also tried to generate this binding from classes.hpp file by below py++ code. ---------- mb=module_builder.module_builder_t(["classes.hpp"]) mb.build_code_creator(module_name = 'custom_sptr') mb.write_module('binding.cpp') ------------ It has produced little different binding. -- View this message in context: http://old.nabble.com/How-to-make-use-of--%3E-%28dereferncing%29-operator-in-pyplusplus-tp28239246p28243207.html Sent from the Python - c++-sig mailing list archive at Nabble.com. _______________________________________________ Cplusplus-sig mailing list Cplusplus-sig@python.org http://mail.python.org/mailman/listinfo/cplusplus-sig