ClickHouse/base/common/StringRef.cpp

14 lines
190 B
C++
Raw Normal View History

2020-09-14 13:33:36 +00:00
#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;
}