add a usage warning about the nonstandard (and possibly buggy) behavior...

...in merge_and_keep
This commit is contained in:
Patrick Parker 2008-04-08 06:12:24 +00:00
parent 4c2a539e54
commit 3e3268ac86

View file

@ -152,8 +152,11 @@ public:
//! Merge config 'c' into this config.
//! Overwrites this config's values.
void merge_with(const config& c);
//! Merge config 'c' into this config.
//! Keeps this config's values and does not add existing elements.
//! NOTICE: other nonstandard behavior includes no merge recursion into child
//! and has limited merging for child lists of differing lengths
void merge_and_keep(const config& c);
bool matches(const config &filter) const;