Skip to content

Commit

Permalink
update readme for char array (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
jl2922 authored Feb 21, 2018
1 parent 332e81b commit c1e7544
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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<T>(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<T>(const char* arr);
```

HPS supports the following types and any combinations of them out of the box:

Expand Down

0 comments on commit c1e7544

Please sign in to comment.