Boost logo

Boost Users :

Subject: [Boost-users] Why does read_xml call fail if my property tree contains char16_t?
From: ashish g (coooolashish4u_at_[hidden])
Date: 2015-02-24 11:10:18


Hi

I have a property tree which has strings of char16_t as both key and value
datatypes.

When I try to call read_xml() to load an xml file into this tree it fails.
The same code however works with wchar_t.

Seems like its failing on parse_bom() function.

The code and error message can be seen here:
http://coliru.stacked-crooked.com/a/3f922b43838fd7e8

Any tips on how to fix this issue.

-- 
*Ashish Gudla*


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net