24 #ifndef STATICLIB_IO_UNIQUE_SINK_HPP
25 #define STATICLIB_IO_UNIQUE_SINK_HPP
30 #include "staticlib/config.hpp"
40 template <
typename Sink>
45 std::unique_ptr<Sink> sink;
77 sink(std::move(other.sink)) { }
86 sink = std::move(other.sink);
97 return sink->write(span);
106 return sink->flush();
126 template <
typename Sink>