Boost logo

Boost :

Subject: Re: [boost] Library for configuration file parsing
From: Denis Shevchenko (for.dshevchenko_at_[hidden])
Date: 2010-11-29 14:19:14


On 29.11.2010 20:49, Hal Finkel wrote:
> Many times it should be an error, but sometimes it should be a warning.
> In some sense, it depends on how robust your validation routine is (does
> it except '+' with a mailbox name, or multiple mailboxes, etc.), but
> sometimes people use a custom syntax for private (internal) messaging,
> and since, in the end, the e-mail address is just an uninterpreted
> string being passed to the SMTP server (or similar), the user sometimes
> needs the ability to use private extensions.
You are right, Hal, I'll remember this.
> In my opinion, just provide a reload function.
Already. There are two functions:
- configurator::reparse()
- configurator::reparse( const std::string& path_to_new_configuration_file )

First variant for reparsing "old" configuration file, second - for
reparsing new configuration file.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk