thanks a lot for your reply. Yes, I dug deeper into the error that day and solved the problem by removing the const

sashidhar

On Sat, Mar 23, 2013 at 11:24 AM, ajd. <a1drin@me.com> wrote:
Remove the `const` from your types, `put` and `erase` modify the object state
and you can't invoke them using const references to ptree.



--
View this message in context: http://boost.2283326.n4.nabble.com/erase-and-put-methods-in-property-tree-lib-of-boost-tp4644405p4644442.html
Sent from the Boost - Users mailing list archive at Nabble.com.
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users