[Boost-users] Conditions for casting stream_buffer to std::basic_streambuf