
On Sun, Nov 28, 2010 at 7:38 AM, Robert Ramey <ramey@rrsd.com> wrote:
or you could save a lot of trouble and just use the serialization library.
Personally, I like to keep configuration file as user friendly as possible, I don't know in detail the capabilities of the boost serialization library, but, as I can see from the tutorial page, its output is not so "friendly" (e.g., see http://www.boost.org/doc/libs/1_45_0/libs/serialization/example/demofile.txt and http://www.boost.org/doc/libs/1_45_0/libs/serialization/example/demo_save.xm...). Said that, while the proposed library looks promising, I would avoid to call it "configurator" since it seems limited to parse INI files. Configuration file can be done in very different format. INI is just a choice, but not the only one. For instance, in the past I used to write conf file in XML. Now I'm quite happy with YAML (http://www.yaml.org), which IMHO combines a good tradeoff between simpleness, compactness and power. -- Marco