staticlib_io  1.2.11
 All Classes Namespaces Files Functions Variables
Classes | Namespaces | Functions
shared_sink.hpp File Reference
#include <ios>
#include <memory>
#include "staticlib/config.hpp"
#include "staticlib/io/span.hpp"

Go to the source code of this file.

Classes

class  staticlib::io::shared_sink< Sink >
 Sink wrapper that holds a "std::shared_ptr" to the underlying sink. More...

Namespaces

namespace  staticlib
namespace  staticlib::io

Functions

template<typename Sink >
shared_sink< Sink > staticlib::io::make_shared_sink (std::shared_ptr< Sink > sink)
 Factory function for creating shared sinks.