std::chars_format

Header: <charconv>

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

# Declarations

enum class chars_format {
scientific = /*unspecified*/,
fixed = /*unspecified*/,
hex = /*unspecified*/,
general = fixed | scientific
};

(since C++17)

# Notes

Feature-test macro Value Std Feature __cpp_lib_to_chars 201611L (C++17) Elementary string conversions (std::to_chars, std::from_chars)

# Example

This section is incompleteReason: no example

# See also