Parses a string for a quantity of type Q at run time.
the type of the returned quantity.
the string to parse.
alias Time = typeof(second); Time t = parseSI!Time("90 min"); assert(t == 90 * minute); t = parseSI!Time("h"); assert(t == 1 * hour);
See Implementation
Parses a string for a quantity of type Q at run time.