File indexing completed on 2025-01-18 09:50:16
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef BOOST_PROPERTY_TREE_DETAIL_INFO_PARSER_CHCONV_HPP_INCLUDED
0011 #define BOOST_PROPERTY_TREE_DETAIL_INFO_PARSER_CHCONV_HPP_INCLUDED
0012
0013 #include <string>
0014
0015 namespace boost { namespace property_tree { namespace info_parser
0016 {
0017
0018 template<class ChDest, class ChSrc>
0019 std::basic_string<ChDest> convert_chtype(const ChSrc *text)
0020 {
0021 std::basic_string<ChDest> result;
0022 while (*text)
0023 {
0024 result += ChDest(*text);
0025 ++text;
0026 }
0027 return result;
0028 }
0029
0030 } } }
0031
0032 #endif