mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-14 03:25:15 +00:00
14 lines
190 B
C++
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;
|
||
|
}
|
||
|
|