Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
irangeとの違いは何counting_rangeですか?
irange
counting_range
irange次のような整数の範囲をすばやく生成する必要がありました。
auto example = boost::irange(0, 5); /// result is {0, 1, 2, 3, 4}
counting_rangeしかし、同じタスクを実行するために代わりに話している(リンクを失った)どこかの例に気づきました。これら2つの違いの簡単な説明はありますか?