I have a boost ptree with nodes:
pt.put("a.b", 1.0);
pt.put("a.c", 2.0);
pt.put("b.g", 3.0);
I would like the extract a tree that has "a.b" and "a.c" (but not "b.g"). When I use pt.get_child("a") I get a tree with "b" and "c". Is there a way to do this?