mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-05 15:21:43 +00:00
21 lines
296 B
C++
21 lines
296 B
C++
#pragma once
|
|
|
|
#include <DB/Core/Types.h>
|
|
#include <map>
|
|
#include <memory>
|
|
|
|
|
|
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);
|
|
}
|
|
|
|
}
|