mirror of
https://github.com/boostorg/iostreams.git
synced 2026-02-27 05:02:29 +00:00
added dereference operators
[SVN r29012]
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user