25#include "../basic_string.hpp"
26#include "common_types.hpp"
27#include "detail/naming_convention.hpp"
31namespace essence::meta {
32 consteval auto get_enum_searching_range(naming_convention)
noexcept {
33 return std::pair{0, 4};
36 template <std_basic_
string T = std::
string>
37 T convert_naming_convention(std::string_view name, naming_convention convention) {
39 case naming_convention::camel_case:
40 return detail::camelize_or_pascalize<T>(name,
true);
41 case naming_convention::pascal_case:
42 return detail::camelize_or_pascalize<T>(name,
false);
43 case naming_convention::snake_case:
44 return detail::make_snake_case<T>(name);