ClickHouse/base/common/getResource.h

8 lines
237 B
C++
Raw Normal View History

2020-08-08 03:42:42 +00:00
#pragma once
#include <string_view>
/// Get resource from binary if exists. Otherwise return empty string view.
/// Resources are data that is embedded into executable at link time.
std::string_view getResource(std::string_view name);