zoukankan      html  css  js  c++  java
  • c++缓冲区std::wstringbuf

    参考:http://www.cplusplus.com/reference/sstream/wstringbuf/

    class
    <sstream>

    std::wstringbuf

    typedef basic_stringbuf<wchar_t> wstringbuf;
    String stream buffer (wide)

    Stream buffer to read from and write towstringobjects.
    Objects of this class maintain internally a sequence of wide characters that they use as their associated input sequence and/or associated output sequence. The internal sequence can be initialized from awstring object, or copied to one, using memberstr.
    Access to the internal sequence of characters is given to streams by means of the interface offered by the virtual members inherited fromwstreambuf that are overriden in this class:

    Member types

    member typedefinition
    char_type wchar_t
    traits_type char_traits<wchar_t>
    allocator_type allocator<wchar_t>
    int_type wint_t
    pos_type wstreampos
    off_type streamoff

    Public member functions

    Note: The references to the members of its basic template (basic_stringbuf) are linked here.

    Public member functions inherited fromwstreambuf

    Locales:

    Buffer management and positioning:

    Input functions (get):

    Output functions (put):

    Protected virtual function overrides

    Note: The references to the members of its basic template (basic_stringbuf) are linked here.

    The class also inherits other protected members that are non-virtual or not overridden. See base classwstreambuf for more details.

  • 相关阅读:
    Android零碎知识(一)
    Android零碎知识
    归属地查询(联网+本地)
    XML文件生成——借助JDOM
    XML文件生成
    Win32汇编语言语法基础
    Nmap 常用命令语法
    Flask 框架基础知识笔记
    Web前端开发JQuery框架
    Web前端开发JavaScript提高
  • 原文地址:https://www.cnblogs.com/MCSFX/p/11506565.html
Copyright © 2011-2022 走看看