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.

  • 相关阅读:
    iOS 接入 招商 一网通的 各种坑
    2016证书无效,看这里
    iOS-响应上下左右滑动手势
    在线HTTP POST/GET接口测试工具
    iOS开发中使用宏定义提高开发效率
    iOS宏定义的使用与规范
    Swift
    koa 第一课
    angular directive的使用
    angular的service服务eg:value,constant,factory,service
  • 原文地址:https://www.cnblogs.com/MCSFX/p/11506565.html
Copyright © 2011-2022 走看看