Based on my previous post here, I take it that it is not possible to read an xml file directly into a property tree of char16_t
.
So I am looking at reading it as a regular char
and then converting them to char16_t
. I can handle the conversion between char and char16_t correctly, however I am not sure how to copy the data from one property tree to another.
I thought I can iterate over ptree but looks like I can only iterate on 1st level of children. I am not sure how to get the recursive call to duplicate a ptree with different data type.
Any tips?