2006-07-17から1日間の記事一覧

multiple close

close()の調査をしていてビックリしました。 次のコードを見てください。 #include <boost/iostreams/chain.hpp> #include <iostream> namespace io = boost::iostreams; struct test_sink { typedef char char_type; struct category : io::output, io::device_tag, io::closable_tag {}; std::st</iostream></boost/iostreams/chain.hpp>…