Index: concept_adapter.hpp =================================================================== --- concept_adapter.hpp (revision 48913) +++ concept_adapter.hpp (working copy) @@ -100,8 +100,9 @@ void close(BOOST_IOS::openmode which, Device* dev) { any_impl::close(t_, dev, which); } + template bool flush( BOOST_IOSTREAMS_BASIC_STREAMBUF(char_type, - BOOST_IOSTREAMS_CHAR_TRAITS(char_type))* sb ) + TR)* sb ) { bool result = any_impl::flush(t_, sb); if (sb && sb->BOOST_IOSTREAMS_PUBSYNC() == -1)