feat(reflect-cpp): Switched from glaze -> reflect cpp

A bug was discovered in glaze which prevented valid toml output. We have
switched to toml++ and reflect-cpp. The interface has remained the same
so this should not break any code
This commit is contained in:
2025-12-06 10:55:46 -05:00
parent 2b5abeae58
commit ec13264050
365 changed files with 63946 additions and 357 deletions

View File

@@ -0,0 +1,31 @@
#ifndef RFL_INTERNAL_STRINGS_STRINGS_HPP_
#define RFL_INTERNAL_STRINGS_STRINGS_HPP_
#include <string>
#include <vector>
#include "../../common.hpp"
namespace rfl::internal::strings {
/// Joins a series of strings.
RFL_API std::string join(const std::string& _delimiter,
const std::vector<std::string>& _strings);
/// Replace all occurences of _from with _to.
RFL_API std::string replace_all(const std::string& _str, const std::string& _from,
const std::string& _to);
/// Splits _str along _delimiter.
RFL_API std::vector<std::string> split(const std::string& _str,
const std::string& _delimiter);
/// Transforms the string to camel case.
RFL_API std::string to_camel_case(const std::string& _str);
/// Transforms the string to pascal case.
RFL_API std::string to_pascal_case(const std::string& _str);
} // namespace rfl::internal::strings
#endif