24 #ifndef STATICLIB_IO_FLUSHABLE_SINK_HPP
25 #define STATICLIB_IO_FLUSHABLE_SINK_HPP
29 #include "staticlib/config.hpp"
40 template<
typename NonFlushableSink>
45 NonFlushableSink sink;
55 sink(std::move(sink)) { }
78 sink(std::move(other.sink)) { }
87 sink = std::move(other.sink);
98 return sink.write(span);
128 template <
typename NonFlushableSink,
129 class =
typename std::enable_if<!std::is_lvalue_reference<NonFlushableSink>::value>::type>
141 template <
typename NonFlushableSink>