
George M. Garner Jr. wrote:
Johnathan,
Would you mind changing the access of two sections in class indirect_streambuf from private to protected? I want to specialize two functions in this class and as it currently stands I need to replace practically the entire iostreams library to do it.
Regards,
George.
public linked_streambuf<BOOST_DEDUCED_TYPENAME char_type_of<T>::type, Tr> {
template<typename T, typename Tr, typename Alloc, typename Mode> class indirect_streambuf public: typedef typename char_type_of<T>::type char_type; BOOST_IOSTREAMS_STREAMBUF_TYPEDEFS(Tr) --private: ++protected: typedef typename category_of<T>::type category; [...] void* component_impl() { return component(); } --private: ++protected: //----------Accessor functions--------------------------------------------// wrapper& obj() { return *storage_; }
These are implementation details, so I'm reluctant to expose them. What are you trying to do? Jonathan