std::chars_format

来自cppreference.com
< cpp‎ | utility
定义于头文件 <utility>
enum class chars_format {

    scientific = /*unspecified*/,
    fixed = /*unspecified*/,
    hex = /*unspecified*/,
    general = fixed | scientific

};
(C++17 起)

用于为 std::to_charsstd::from_chars 指定浮点格式的位掩码类型 (BitmaskType) 。

[编辑] 参阅

(C++17)
转换整数或浮点值到字符序列
(函数) [编辑]
转换字符序列到整数或浮点值
(函数) [编辑]