int ioReadString(Arg &arg, const char *str, size_t len)
Reads ONE value from a string and save to arg. arg will not change until the reading successfully exi...
Definition: ioread.h:14
void ioReadStream(Arg &arg, std::string prompt, Arg auto_fill, Invalid &&invalid, std::istream &istream=std::cin)
Tests the validity of arg. If invalid, read ONE value from an std::istream object....
Definition: ioread.h:55
static std::vector< std::string > split(std::string str, std::string delimiters=whitespaces)
Splits a string str by delimiters and returns a vector of strings.