【C++】template 統合スレ -- Part5
■ このスレッドは過去ログ倉庫に格納されています
001816
NGNG> 構造とは具体的にどこ?
・std::cout の実体がひとつしかない
・std::cout がバッファリングしている
実際にやってみたところ、下記のような感じで見事に出力がぶっ壊れました
std::cout 版の出力
Thread 実行中((thread1)
Thread 師hread2)
Thread 実タ行中 (thread1)
Th行中 (thread2)
printf 版の出力
Thread 実行中 (thread1)
Thread 実行中 (thread1)
Thread 実行中 (thread2)
Thread 実行中 (thread2)
コンパイラVisual C++、STLはVisual C++にはいっていたやつ
でしか試してないんですが、別な環境だと大丈夫だったりするんでしょうか
■ このスレッドは過去ログ倉庫に格納されています