diff --git a/include/boost/iostreams/stream_facade.hpp b/include/boost/iostreams/stream_facade.hpp index 5fc77b6..3a3a3b5 100755 --- a/include/boost/iostreams/stream_facade.hpp +++ b/include/boost/iostreams/stream_facade.hpp @@ -117,6 +117,7 @@ public: bool strict_sync() { return this->member.strict_sync(); } Device& operator*() { return *this->member; } Device* operator->() { return &*this->member; } + Device* component() { return this->member.component(); } private: void open_impl(const Device& dev BOOST_IOSTREAMS_PUSH_PARAMS()) // For forwarding. {