These functions are added to uripp so that there is a single namespace for converting both URI- and HTTP-related data types.
Functions | |
| std::string RESTCGI_API | convert (const restcgi::date_time &v) |
| date and time to string | |
| bool RESTCGI_API | convert (const std::string &s, restcgi::date_time &v) |
| String to date and time, returning true if set, which is when the string is not empty or all isspace. | |
| bool RESTCGI_API uripp::convert | ( | const std::string & | s, | |
| restcgi::date_time & | v | |||
| ) |
String to date and time, returning true if set, which is when the string is not empty or all isspace.
Space before and/or after value OK.
| std::invalid_argument | on conversion error |
1.4.7