Converts a snake_case name to a PascalCase.
This function is designed for use at compile time and is thus not careful about avoiding allocations.
the snake_case value
The value in camel case
assert (snakeToPascal("") == ""); assert (snakeToPascal("a") == "A"); assert (snakeToPascal("Aaaa") == "Aaaa"); assert (snakeToPascal("aaaa_bbbbb") == "AaaaBbbbb");
See Implementation
Converts a snake_case name to a PascalCase.
This function is designed for use at compile time and is thus not careful about avoiding allocations.