the input range, to read from
type to return
the type of the input range input
the character type used for spec
A value from input of type T.
A FormatException if reading did not succeed.
import std.format.spec : singleSpec; string s = "42"; auto spec = singleSpec("%s"); assert(unformatValue!int(s, spec) == 42);
Reads a value from the given input range and converts it according to a format specifier.