Boost logo

Boost :

From: George M. Garner Jr. (gmgarner_at_[hidden])
Date: 2005-08-17 13:23:20


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.

template<typename T, typename Tr, typename Alloc, typename Mode>
class indirect_streambuf
: public linked_streambuf<BOOST_DEDUCED_TYPENAME char_type_of<T>::type, Tr>
{
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_; }


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk