diff --git a/io.hpp b/io.hpp index 4ed8a543..1b15fe74 100644 --- a/io.hpp +++ b/io.hpp @@ -73,7 +73,15 @@ namespace util { /// an exception may be thrown in the event forward progress is impossible. /// in this event the progress may not be reported to the caller. in the /// future an exception member variable may expose the information. - template + template < + typename DstT, + typename IteratorA, + typename IteratorB, + typename = std::enable_if_t< + sizeof (util::view::value_type) == 1, + void + > + > util::view write (DstT &dst, const util::view src) {