ClickHouse/dbms/include/DB/Parsers/StringRange.h
2016-11-23 22:58:33 +03:00

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);
}
}