ClickHouse/base/common/StringRef.cpp
2020-09-14 16:34:44 +03:00

14 lines
190 B
C++

#include <ostream>
#include "StringRef.h"
std::ostream & operator<<(std::ostream & os, const StringRef & str)
{
if (str.data)
os.write(str.data, str.size);
return os;
}