Added initial structure for include diagram generation
This commit is contained in:
@@ -101,7 +101,7 @@ std::string rtrim(const std::string &s)
|
||||
|
||||
std::string trim(const std::string &s) { return rtrim(ltrim(s)); }
|
||||
|
||||
std::vector<std::string> split(std::string str, std::string delimiter)
|
||||
std::vector<std::string> split(std::string str, std::string_view delimiter)
|
||||
{
|
||||
std::vector<std::string> result;
|
||||
|
||||
@@ -124,7 +124,8 @@ std::vector<std::string> split(std::string str, std::string delimiter)
|
||||
return result;
|
||||
}
|
||||
|
||||
std::string join(const std::vector<std::string> &toks, std::string delimiter)
|
||||
std::string join(
|
||||
const std::vector<std::string> &toks, std::string_view delimiter)
|
||||
{
|
||||
return fmt::format("{}", fmt::join(toks, delimiter));
|
||||
}
|
||||
|
||||
@@ -83,9 +83,10 @@ std::string get_git_toplevel_dir();
|
||||
*
|
||||
* @return Vector of string tokens.
|
||||
*/
|
||||
std::vector<std::string> split(std::string str, std::string delimiter);
|
||||
std::vector<std::string> split(std::string str, std::string_view delimiter);
|
||||
|
||||
std::string join(const std::vector<std::string> &toks, std::string delimiter);
|
||||
std::string join(
|
||||
const std::vector<std::string> &toks, std::string_view delimiter);
|
||||
|
||||
/**
|
||||
* @brief Remove any qualifiers (e.g. const) from type.
|
||||
|
||||
Reference in New Issue
Block a user