标准库标头 <iomanip>
来自cppreference.com
此头文件是输入/输出库的一部分。
函数 | |
| 清除指定的 ios_base 标志 (函数) | |
| 设置指定的 ios_base 标志 (函数) | |
| 更改用于整数 I/O 的基数 (函数) | |
| 更改填充字符 (函数模板) | |
| 更改浮点数精度 (函数) | |
| 更改下个输入/输出字段的宽度 (函数) | |
(C++11) |
剖析货币值 (函数模板) |
(C++11) |
格式化并输出货币值 (函数模板) |
(C++11) |
剖析指定格式的日期/时间值 (函数模板) |
(C++11) |
按照指定格式格式化并输出日期/时间值 (函数模板) |
(C++14) |
插入和读取带有内嵌空格的被引号括起来的字符串 (函数模板) |
概要
namespace std {
/* 未指明 */ resetiosflags(ios_base::fmtflags mask);
/* 未指明 */ setiosflags (ios_base::fmtflags mask);
/* 未指明 */ setbase(int base);
template<class CharT> /* 未指明 */ setfill(CharT c);
/* 未指明 */ setprecision(int n);
/* 未指明 */ setw(int n);
template<class MoneyT> /* 未指明 */ get_money(MoneyT& mon, bool intl = false);
template<class MoneyT> /* 未指明 */ put_money(const MoneyT& mon, bool intl = false);
template<class CharT> /* 未指明 */ get_time(tm* tmb, const CharT* fmt);
template<class CharT> /* 未指明 */ put_time(const tm* tmb, const CharT* fmt);
template<class CharT>
/* 未指明 */ quoted(const CharT* s, CharT delim = CharT('"'),
CharT escape = CharT('\\'));
template<class CharT, class Traits, class Allocator>
/* 未指明 */ quoted(const basic_string<CharT, Traits, Allocator>& s,
CharT delim = CharT('"'), CharT escape = CharT('\\'));
template<class CharT, class Traits, class Allocator>
/* 未指明 */ quoted(basic_string<CharT, Traits, Allocator>& s,
CharT delim = CharT('"'), CharT escape = CharT('\\'));
template<class CharT, class Traits>
/* 未指明 */ quoted(basic_string_view<CharT, Traits> s,
CharT delim = CharT('"'), CharT escape = CharT('\\'));
}