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.

  • 相关阅读:
    编程原理
    VMware
    window的composer安装
    微信小程序支付的坑
    php 生成二维码
    接口文档在线编辑
    mysql函数的使用
    linux的反斜扛的问题
    require_once中使用./和../时遇到的坑
    微信测试账号申请后,登陆空白的现象
  • 原文地址:https://www.cnblogs.com/MCSFX/p/11506565.html
Copyright © 2011-2022 走看看