
4 Oct
2011
4 Oct
'11
9:33 a.m.
On 03.10.2011 16:52, Bernd Prager wrote:
All,
I would appreciate some help with erasing a nested node entry in property_tree. Below is my example. (2) works, but only erases an entire tree. (1) doesn't but it's really what I want.
Thank you for any help. (I'm sorry, the documentation is not very verbose on this topic.) I'm afraid there is no simple way to do this. There's no path-based erase function. So you can only do this:
props.get("db").erase("name"); Sebastian