標準庫標頭檔案 <iomanip>
來自 cppreference.com
此標頭檔案是輸入/輸出庫的一部分。
函式 | |
清除指定的 ios_base 標誌 (函式) | |
設定指定的 ios_base 標誌(函式) | |
更改整數 I/O 所用的基數 (函式) | |
更改填充字元 (函式模板) | |
更改浮點精度 (函式) | |
更改下一個輸入/輸出欄位的寬度 (函式) | |
(C++11) |
解析貨幣值 (函式模板) |
(C++11) |
格式化並輸出貨幣值 (函式模板) |
(C++11) |
解析指定格式的日期/時間值 (函式模板) |
(C++11) |
根據指定格式格式化並輸出日期/時間值 (函式模板) |
(C++14) |
插入並提取帶空格的引用字串 (函式模板) |
[編輯] 概要
namespace std { /*unspecified*/ resetiosflags(ios_base::fmtflags mask); /*unspecified*/ setiosflags (ios_base::fmtflags mask); /*unspecified*/ setbase(int base); template<class CharT> /*unspecified*/ setfill(CharT c); /*unspecified*/ setprecision(int n); /*unspecified*/ setw(int n); template<class MoneyT> /*unspecified*/ get_money(MoneyT& mon, bool intl = false); template<class MoneyT> /*unspecified*/ put_money(const MoneyT& mon, bool intl = false); template<class CharT> /*unspecified*/ get_time(tm* tmb, const CharT* fmt); template<class CharT> /*unspecified*/ put_time(const tm* tmb, const CharT* fmt); template<class CharT> /*unspecified*/ quoted(const CharT* s, CharT delim = CharT('"'), CharT escape = CharT('\\')); template<class CharT, class Traits, class Allocator> /*unspecified*/ quoted(const basic_string<CharT, Traits, Allocator>& s, CharT delim = CharT('"'), CharT escape = CharT('\\')); template<class CharT, class Traits, class Allocator> /*unspecified*/ quoted(basic_string<CharT, Traits, Allocator>& s, CharT delim = CharT('"'), CharT escape = CharT('\\')); template<class CharT, class Traits> /*unspecified*/ quoted(basic_string_view<CharT, Traits> s, CharT delim = CharT('"'), CharT escape = CharT('\\')); }