Namespaces
Variants

Standard library header <iomanip>

From cppreference.net
Standard library headers

此头文件是 输入/输出 库的组成部分。

函数

清除指定的 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('\\'));
}