mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-17 20:02:05 +00:00
20 lines
278 B
C++
20 lines
278 B
C++
#pragma once
|
|
|
|
#include <DB/Core/Types.h>
|
|
#include <map>
|
|
|
|
|
|
namespace DB
|
|
{
|
|
|
|
using StringRange = std::pair<const char *, const char *>;
|
|
using StringPtr = std::shared_ptr<String>;
|
|
|
|
|
|
inline String toString(const StringRange & range)
|
|
{
|
|
return String(range.first, range.second);
|
|
}
|
|
|
|
}
|