std::chars_format

std::chars_format

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

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

See also

(C++17)
converts an integer or floating-point value to a character sequence
(function)
(C++17)
converts a character sequence to an integer or floating-point value
(function)

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/utility/chars_format

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部