replace ArrayRange by tcb::span (reproduction of std::span)

This commit is contained in:
Garux
2021-10-24 08:32:10 +03:00
parent 4726542134
commit d812cbd4d4
30 changed files with 544 additions and 158 deletions

View File

@@ -281,7 +281,7 @@ inline TextOutputStreamType& ostream_write( TextOutputStreamType& ostream, const
/// \brief Writes a \p range of characters to \p ostream.
template<typename TextOutputStreamType>
inline TextOutputStreamType& ostream_write( TextOutputStreamType& ostream, const StringRange& range ){
ostream.write( range.first, range.last - range.first );
ostream.write( range.data(), range.size() );
return ostream;
}