Ticket #4145: boost-property_tree-fix.diff
File boost-property_tree-fix.diff, 1.2 KB (added by , 13 years ago) |
---|
-
boost/property_tree/ptree_fwd.hpp
88 88 /** Implements a path using a std::string as the key. */ 89 89 typedef string_path<std::string, id_translator<std::string> > path; 90 90 91 #ifndef BOOST_NO_STD_WSTRING 91 92 /** Implements a path using a std::wstring as the key. */ 92 93 typedef string_path<std::wstring, id_translator<std::wstring> > wpath; 94 #endif // ndef BOOST_NO_STD_WSTRING 93 95 94 96 /** 95 97 * A property tree with std::string for key and data, and default -
boost/property_tree/string_path.hpp
57 57 { 58 58 return s; 59 59 } 60 #ifndef BOOST_NO_STD_WSTRING 60 61 inline std::string dump_sequence(const std::wstring &s) 61 62 { 62 63 return narrow(s.c_str()); 63 64 } 65 #endif // ndef BOOST_NO_STD_WSTRING 64 66 } 65 67 66 68 /// Default path class. A path is a sequence of values. Groups of values