
17 Jan
2025
17 Jan
'25
7:43 p.m.
Another quick question: decimal::to_chars returns a structure that contains an error code and a pointer, implying that the function can fail. Having a quick glance at the implementation, it returns an error code if an invalid character range is supplied (e.g. end_pointer < begin_pointer). Other than that, can to_chars fail anyhow? Thanks, Ruben.