guanaqo 1.0.0-alpha.26
Utilities for scientific software
Loading...
Searching...
No Matches
callback-streambuf.hpp File Reference

Detailed Description

Stream buffer and redirector for capturing ostream output.

Definition in file callback-streambuf.hpp.

#include <cstring>
#include <functional>
#include <ostream>
#include <span>
#include <streambuf>
#include <vector>
Include dependency graph for callback-streambuf.hpp:

Go to the source code of this file.

Classes

class  guanaqo::callback_streambuf
 An implementation of a std::streambuf that calls the given callback function with the characters that are written. More...
class  guanaqo::scoped_ostream_redirect
 Temporarily replaces the rdbuf of the given ostream. More...

Namespaces

namespace  guanaqo