This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// should work correctly, but not tested yet | |
std::vector<std::string_view> split(const std::string_view str, const char delimiter = ',') | |
{ | |
std::vector<std::string_view> result; | |
auto mark = str.begin(); | |
for (auto it = mark; it != str.end(); ++it) { | |
if (*it == delimiter) { | |
result.emplace_back(std::string_view(mark, it)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
image: crops/yocto:ubuntu-20.04-base | |
variables: | |
GIT_SUBMODULE_STRATEGY: recursive | |
LANG: "C.UTF-8" | |
LC_ALL: "C.UTF-8" | |
DL_DIR: "/cache/downloads" | |
CCACHE_TOP_DIR: "/cache/ccache" | |
SSTATE_DIR: "/cache/sstate" | |
BB_ENV_EXTRAWHITE: "DL_DIR CCACHE_TOP_DIR SSTATE_DIR" |