I'm loading an ini file with boost property_tree. My ini file mostly contains "simple" types (i.e., strings, ints, doubles, etc.) but I do have some values that represent an array.
[Example]
thestring = string
theint = 10
theintarray = 1,2,3,4,5
thestringarray = cat, dog, bird
I'm having trouble figuring out how to get boost to programmagically load theintarray
and thestringarray
into a container object like vector
or list
. Am I doomed to just read it in as a string and parse it out myself?
Thanks!