An enumeration used to specify fromatting of the from_chars floating-point conversion function.
Meets the BitmaskType requirements.
Corresponds to the std::chars_format enumeration of the standard C++ library.
When the header is compiled with a C++17 compiler, chars_format is an alias to std::chars_format.
- See also
- from_chars An implementation of the C++17 functions using means of C++14 and supporting strings of characters other than just
char.
| Enumerator |
|---|
| scientific | Expects an exponential representation of the floating point number.
|
| fixed | Prohibits the exponential part of the floating point representation.
|
| general | Allows exponential representation, but unlike scientific makes it optional. This is the default value.
|
| hex | Specifies a hexadecimal representation of the floating point number.
|