Home | History | Annotate | Download | only in conversions.string

Lines Matching refs:Myconv

23     typedef std::wstring_convert<Codecvt> Myconv;
24 Myconv myconv;
25 assert(myconv.converted() == 0);
26 std::string bs = myconv.to_bytes(L"\x40003");
27 assert(myconv.converted() == 1);
28 bs = myconv.to_bytes(L"\x40003\x65");
29 assert(myconv.converted() == 2);
30 std::wstring ws = myconv.from_bytes("\xF1\x80\x80\x83");
31 assert(myconv.converted() == 4);