•  1 // char TYPEDEFS
     2 using ios           = basic_ios<char, char_traits<char>>;
     3 using streambuf     = basic_streambuf<char, char_traits<char>>;
     4 using istream       = basic_istream<char, char_traits<char>>;
     5 using ostream       = basic_ostream<char, char_traits<char>>;
     6 using iostream      = basic_iostream<char, char_traits<char>>;
     7 using stringbuf     = basic_stringbuf<char, char_traits<char>, allocator<char>>;
     8 using istringstream = basic_istringstream<char, char_traits<char>, allocator<char>>;
     9 using ostringstream = basic_ostringstream<char, char_traits<char>, allocator<char>>;
    10 using stringstream  = basic_stringstream<char, char_traits<char>, allocator<char>>;
    11 using filebuf       = basic_filebuf<char, char_traits<char>>;
    12 using ifstream      = basic_ifstream<char, char_traits<char>>;
    13 using ofstream      = basic_ofstream<char, char_traits<char>>;
    14 using fstream       = basic_fstream<char, char_traits<char>>;
    15 
    16 // wchar_t TYPEDEFS
    17 using wios           = basic_ios<wchar_t, char_traits<wchar_t>>;
    18 using wstreambuf     = basic_streambuf<wchar_t, char_traits<wchar_t>>;
    19 using wistream       = basic_istream<wchar_t, char_traits<wchar_t>>;
    20 using wostream       = basic_ostream<wchar_t, char_traits<wchar_t>>;
    21 using wiostream      = basic_iostream<wchar_t, char_traits<wchar_t>>;
    22 using wstringbuf     = basic_stringbuf<wchar_t, char_traits<wchar_t>, allocator<wchar_t>>;
    23 using wistringstream = basic_istringstream<wchar_t, char_traits<wchar_t>, allocator<wchar_t>>;
    24 using wostringstream = basic_ostringstream<wchar_t, char_traits<wchar_t>, allocator<wchar_t>>;
    25 using wstringstream  = basic_stringstream<wchar_t, char_traits<wchar_t>, allocator<wchar_t>>;
    26 using wfilebuf       = basic_filebuf<wchar_t, char_traits<wchar_t>>;
    27 using wifstream      = basic_ifstream<wchar_t, char_traits<wchar_t>>;
    28 using wofstream      = basic_ofstream<wchar_t, char_traits<wchar_t>>;
    29 using wfstream       = basic_fstream<wchar_t, char_traits<wchar_t>>;
  • 相关阅读:
    Java:JSON和Map相互转换
    Mysql Join语法解析与性能分析
    python MySQLdb 字典(dict)结构数据插入mysql
    boost thread 参数传递
    gnuplot 教程
    Visual Studio 不同版本对C++11的支持进度
    werqtrr
    python pip 修改为国内源
    命名管道不能实现局域网内通信,该怎么处理
    飞思卡尔单片机P&E开发工具硬件及软件
  • 原文地址:https://www.cnblogs.com/sunbines/p/14284465.html
Copyright © 2020-2023  润新知