C++で新しい文字列クラスをつくろう 2
■ このスレッドは過去ログ倉庫に格納されています
0198デフォルトの名無しさん
2008/01/07(月) 16:20:50char awstr[] = "あいaうえbおc";
typedef fixedstring<traits_SJIS> mystring;
mystring fs(awstr);
std::sort(fs.begin(), fs.end());
fs[3] = "字";
fs += 'Z';
std::string tmpstr = fs;
traits_SJIS::char_type dd("そ");
if (dd == "そ");
out_iterator<sys2_to_ucs2> oi("てすとabc文字列");
wcout << with_nul(*oi)() << endl;
fs.assign(oi);
fs *= 3;
wcout << fs;
■ このスレッドは過去ログ倉庫に格納されています