ClickHouse/dbms/src/Parsers/StringRange.h

21 lines
296 B
C++

#pragma once
#include <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);
}
}