首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

std::istreambuf_iterator::istreambuf_iterator

?

(1)

?

istreambuf_iterator();

(until C++11)

constexpr istreambuf_iterator();

(since C++11)

istreambuf_iterator( std::basic_istream<CharT,Traits>& is );

(2)

?

istreambuf_iterator( std::basic_streambuf<CharT,Traits>* s );

(3)

?

istreambuf_iterator( const istreambuf_iterator& ) = default;

(4)

(since C++11)

1%29构造一个流结束迭代器.

2%29初始化迭代器并存储is.rdbuf()在数据成员中。如果is.rdbuf()为NULL,则构造流结束迭代器。

3%29初始化迭代器并存储s在数据成员中。如果s为NULL,则构造流结束迭代器。

4%29复制构造函数显式地默认。

参数

is

-

stream to obtain the stream buffer from

s

-

stream buffer to initialize the iterator with

例外

1-4%29

noexcept规格:

noexcept

代码语言:txt
复制
 ? cppreference.com

在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。

扫码关注腾讯云开发者

领取腾讯云代金券

http://www.vxiaotou.com