iostream.hpp: Add get(char&) override to allow unpack(fc::istream, unsigned_int)
This commit is contained in:
parent
7b6431f20e
commit
8eec508b8c
1 changed files with 1 additions and 0 deletions
|
|
@ -31,6 +31,7 @@ namespace fc {
|
||||||
istream& read( char* buf, size_t len );
|
istream& read( char* buf, size_t len );
|
||||||
istream& read( const std::shared_ptr<char>& buf, size_t len, size_t offset = 0 );
|
istream& read( const std::shared_ptr<char>& buf, size_t len, size_t offset = 0 );
|
||||||
virtual char get();
|
virtual char get();
|
||||||
|
void get( char& c ) { c = get(); }
|
||||||
};
|
};
|
||||||
typedef std::shared_ptr<istream> istream_ptr;
|
typedef std::shared_ptr<istream> istream_ptr;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue