Added using declarations so will build under gcc 3.4.2

This commit is contained in:
jez_higgins 2004-09-14 19:41:43 +00:00
parent 7633b08d00
commit 7d0d6d8cd5

View file

@ -47,6 +47,15 @@ class basic_socketbuf : public std::basic_streambuf<charT, traitsT>
public: public:
typedef typename traitsT::int_type int_type; typedef typename traitsT::int_type int_type;
using std::basic_streambuf<charT, traitsT>::setp;
using std::basic_streambuf<charT, traitsT>::setg;
using std::basic_streambuf<charT, traitsT>::underflow;
using std::basic_streambuf<charT, traitsT>::gptr;
using std::basic_streambuf<charT, traitsT>::gbump;
using std::basic_streambuf<charT, traitsT>::egptr;
using std::basic_streambuf<charT, traitsT>::eback;
using std::basic_streambuf<charT, traitsT>::pptr;
basic_socketbuf(); basic_socketbuf();
virtual ~basic_socketbuf(); virtual ~basic_socketbuf();
@ -327,6 +336,9 @@ template<class charT, class traitsT>
class basic_socketstream : public std::basic_iostream<charT, traitsT> class basic_socketstream : public std::basic_iostream<charT, traitsT>
{ {
public: public:
using std::basic_iostream<charT, traitsT>::setstate;
using std::basic_iostream<charT, traitsT>::badbit;
basic_socketstream(); basic_socketstream();
explicit basic_socketstream(const char* hostname, int port); explicit basic_socketstream(const char* hostname, int port);