在线文档教程
C++
应用 | Utilities

std::chars_format

STD:CHAIS[医]格式

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

BitmaskType用于指定浮点格式。std::to_charsstd::from_chars...

另见

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

© cppreference.com

在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。

http://en.cppreference.com/w/cpp/实用程序/chars[医]格式