Hi,

In http://www.boost.org/doc/libs/1_42_0/libs/property_tree/examples/debug_settings.cpp the FOREACH lines are commented out.

<debug>
<filename>debug.log</filename>
<modules>
<module>Finance</module>
<module>Admin</module>
<module>HR</module>
</modules>
<level>2</level>
</debug>

Then I compiled and tested the program and noticed it wrote only one value for the <modules> tag above.
Here it is the output:
  <?xml version="1.0" encoding="utf-8" ?>
- <debug>
  <filename>debug.log</filename>
  <level>2</level>
- <modules>
  <module>HR</module>
  </modules>
  </debug

What is the status of this library ? Is this a known bug or it is just the example that is not uptodate ?
If the latter, can anyone provide a functional version of debug_settings.cpp ?

Thanks !

--
Mauricio