
"Marcin Kalicinski" wrote:
3. Even if you insist on alternative lookup. Why not just use single typedef with multi_index instead of all the implementation.
Could you elaborate more on that? I considered use of multi_index to implement indexing for properties, but it only affected the implementation part of library, not interface, and because I already had a working, exception safe solution, I didn't see the reason to dump it and add another dependency on another library.
Multi-index has disadvantages: * high compilation time (people do change configuration structures very often) * doesn't compile on Borland * if it will be possible to provoke compile time error inside mu;ti-index by wrong use of ptree no one wil understand the result message IMO the fast lookup should be optional feature. /Pavel