added dereference operators

[SVN r29012]
This commit is contained in:
Jonathan Turkanis
2005-05-17 23:26:01 +00:00
parent 4f8d5ce85b
commit 4341db33fd

View File

@@ -110,6 +110,8 @@ public:
open_impl(detail::forward<T, U0>(), u0, u1, u2);
}
#endif // !BOOST_WORKAROUND(BOOST_MSVC, <= 1300) //---------------------------//
T& operator*() { return *this->component(); }
T* operator->() { return this->component(); }
private:
template<typename U0>
void open_impl(mpl::false_, const U0& u0)
@@ -171,4 +173,4 @@ private:
} } // End namespaces iostreams, boost.
#endif BOOST_IOSTREAMS_DETAIL_BROKEN_OVERLOAD_RESOLUTION_STREAMBUF_FACADE_HPP_INCLUDED
#endif BOOST_IOSTREAMS_DETAIL_BROKEN_OVERLOAD_RESOLUTION_STREAMBUF_FACADE_HPP_INCLUDED