Class char_streambuf
Defined in File streambuf.hpp
Inheritance Relationships
Base Type
public std::streambuf
Class Documentation
-
class char_streambuf : public std::streambuf
A simple class to use const char buffers as streambuf.
It is very often useful to have a streambuf class that can wrap wrap around a const char* pointer.
Public Functions
-
inline char_streambuf(const char *buffer, size_t length)
constructor taking a buffer and a length
-
inline char_streambuf(const char *buffer)
constructor taking a buffer using the standard strlen to determine the length
-
char_streambuf(const char_streambuf&) = delete
-
char_streambuf &operator=(const char_streambuf&) = delete
-
inline char_streambuf(const char *buffer, size_t length)