Index: boost/iostreams/code_converter.hpp =================================================================== --- boost/iostreams/code_converter.hpp (revision 77454) +++ boost/iostreams/code_converter.hpp (working copy) @@ -254,7 +254,7 @@ public: typedef intern_type char_type; struct category - : impl_type::mode, device_tag, closable_tag, localizable_tag + : impl_type::mode, device_tag, closable_tag, localizable_tag, flushable_tag { }; BOOST_STATIC_ASSERT(( is_same< @@ -287,6 +287,7 @@ std::streamsize read(char_type*, std::streamsize); std::streamsize write(const char_type*, std::streamsize); void imbue(const std::locale& loc) { impl().cvt_.imbue(loc); } + bool flush() { return out().flush(dev()); } // Direct device access.