[過去ログ]
Boostを語れゴラァ part3 (1001レス)
上
下
前
次
1-
新
このスレッドは過去ログ倉庫に格納されています。
次スレ検索
歴削→次スレ
栞削→次スレ
過去ログメニュー
87
:
73
2006/10/11(水)22:23
AA×
[
240
|320|
480
|
600
|
原寸
|
GIF
|
べ
|
レス栞
|
レス消
]
87: 73 [sage] 2006/10/11(水) 22:23:10 class Test{ public: Test(std::wstring s):str(s){}; std::wstring str; private: friend class boost::serialization::access; template<class Archive> void serialize(Archive& ar, const unsigned int version){ ar & str; } }; int main(int, char**){ std::wcout.imbue(std::locale("")); Test te(_T("日本語文字列の入力テスト")); #if 1 std::wofstream ofs(_T("out.txt")); boost::archive::text_woarchive oa(ofs); oa & te; ofs.close(); std::wifstream ifs(_T("out.txt")); boost::archive::text_wiarchive ia(ifs); ia & te; ifs.close(); std::wcout << te.str << std::endl; #elif 1 boost::archive::text_woarchive ar(std::wcout); ar & te; #endif return 0; } http://echo.5ch.net/test/read.cgi/tech/1158991211/87
日本語文字列の入力テスト
上
下
前
次
1-
新
書
関
写
板
覧
索
設
栞
歴
あと 914 レスあります
スレ情報
赤レス抽出
画像レス抽出
歴の未読スレ
ぬこの手
ぬこTOP
0.023s