parse

Single character parsing utilities.

Return Value

Type: bool

true if success and false otherwise.

Examples

auto s = "str";
char c;
assert(parse(s, c));
assert(c == 's');
assert(s == "tr");

Meta