diff --git a/README.md b/README.md index 5860268..4d3d83b 100644 --- a/README.md +++ b/README.md @@ -188,6 +188,15 @@ void parse_from_string(T& t, const std::string& str); // Parse from an STL string and return the data. T parse_from_string(const std::string& str); ``` +```c++ +// Parse from a char array and save to the data t passed in. +// Recommended for repeated use inside a loop. +void parse_from_char_array(T& t, const char* arr); +``` +```c++ +// Parse from a char array and return the data. +T parse_from_char_array(const char* arr); +``` HPS supports the following types and any combinations of them out of the box: