Internally, this function simply calls the virtual protected member
do_get_time, which by default parses characters following the same format produced by
"%X"
in
strftime.
The function updates
err with the result of the operation if necessary:
- If the format of the sequence is not valid, the function sets
failbit.
- Otherwise, it is unspecified, although some implementations set
err to
eofbit if the function exhausts the sequence of characters (i.e., it reaches
end, both in case of success and failure), or to
goodbit otherwise.
Internally, this function simply calls the virtual protected member
do_get_time, which by default parses characters following the same format produced by
"%H:%M:%S"
in
strftime.
The function updates
err with the result of the operation if necessary:
- If the format of the sequence is not valid, the function sets
failbit.
- If the function exhausts the sequence of characters (i.e., it reaches
end) during its operations, it sets
eofbit (both
failbit and
eofbit may be set by a single operation).
- Otherwise, it is unspecified, although some implementations set
err to
goodbit.