24 #ifndef STATICLIB_IO_UNIQUE_SOURCE_HPP
25 #define STATICLIB_IO_UNIQUE_SOURCE_HPP
30 #include "staticlib/config.hpp"
40 template <
typename Source>
45 std::unique_ptr<Source> src;
77 src(std::move(other.src)) { }
86 src = std::move(other.src);
97 return src->read(span);
117 template <
typename Source>