
23 Apr
2006
23 Apr
'06
1:48 p.m.
I had now a look at the source code: If I understand correctly it is possible to use the read/write functions (like read_xml, read_ini, read_json etc.) with other containers? So there is no tight coupling?
No, it is not normally possible. read/write functions expect a recursive container, because they need tree-like structure. I made no attempt to generalize the library, so that read/write functions can work with general recursive containers (btw. the whole idea of recursive container is actually quite fuzzy). They require basic_ptree, so there definitely is tight coupling. Best regards, Marcin