From: Ruben Perez (rubenperez038_at_[hidden])
Date: 2025-01-17 19:43:37


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.