std::chars_format
Defined in header <utility> | ? | ? |
---|---|---|
enum class chars_format { scientific = /*unspecified*/, fixed = /*unspecified*/, hex = /*unspecified*/, general = fixed | scientific }; | ? | (since C++17) |
阿BitmaskType
用于指定浮点格式。std::to_chars
和std::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。
本文档系腾讯云开发者社区成员共同维护,如有问题请联系 cloudcommunity@tencent.com