MakerLabs ACM
embedded_files_string_view_wrapper.h File Reference
#include <experimental/string_view>

Go to the source code of this file.

Macros

#define DECLARE_STRING_VIEW_WRAPPER(file_name_with_ext)
 

Macro Definition Documentation

◆ DECLARE_STRING_VIEW_WRAPPER

#define DECLARE_STRING_VIEW_WRAPPER (   file_name_with_ext)
Value:
extern const char file_name_with_ext ## _start[] \
asm("_binary_" #file_name_with_ext "_start"); \
extern const char file_name_with_ext ## _end[] \
asm("_binary_" #file_name_with_ext "_end"); \
const std::experimental::string_view file_name_with_ext( \
file_name_with_ext ## _start, \
file_name_with_ext ## _end - file_name_with_ext ## _start \
)
std::experimental::string_view string_view
Definition: actor_model.cpp:16