Feature/shared exports msvc (#525)

This commit is contained in:
Philemon Benner
2025-10-19 16:32:15 +02:00
committed by GitHub
parent 06988aa0e1
commit 83951fd90b
42 changed files with 212 additions and 90 deletions
+7 -5
View File
@@ -4,25 +4,27 @@
#include <string>
#include <vector>
#include "../../common.hpp"
namespace rfl::internal::strings {
/// Joins a series of strings.
std::string join(const std::string& _delimiter,
RFL_API std::string join(const std::string& _delimiter,
const std::vector<std::string>& _strings);
/// Replace all occurences of _from with _to.
std::string replace_all(const std::string& _str, const std::string& _from,
RFL_API std::string replace_all(const std::string& _str, const std::string& _from,
const std::string& _to);
/// Splits _str along _delimiter.
std::vector<std::string> split(const std::string& _str,
RFL_API std::vector<std::string> split(const std::string& _str,
const std::string& _delimiter);
/// Transforms the string to camel case.
std::string to_camel_case(const std::string& _str);
RFL_API std::string to_camel_case(const std::string& _str);
/// Transforms the string to pascal case.
std::string to_pascal_case(const std::string& _str);
RFL_API std::string to_pascal_case(const std::string& _str);
} // namespace rfl::internal::strings