std::chars_format (3) - Linux Man Pages

std::chars_format: std::chars_format


std::chars_format - std::chars_format


Defined in header <charconv>
enum class chars_format {
scientific = /*unspecified*/,
fixed = /*unspecified*/, (since C++17)
hex = /*unspecified*/,
general = fixed | scientific

A BitmaskType used to specify floating-point formatting for std::to_chars and std::from_chars

See also

to_chars converts an integer or floating-point value to a character sequence

from_chars converts a character sequence to an integer or floating-point value