πŸ“š foreach

Overview

In C++, writing a loop that iterates over a sequence is tedious. We can either use iterators, which requires a considerable amount of boiler-plate, or we can use the std::for_each() algorithm and move our loop body into a predicate, which requires no less boiler-plate and forces us to move our logic far from where it will be used. In contrast, some other languages, like Perl, provide a dedicated "foreach" construct that automates this process. BOOST_FOREACH is just such a construct for C++. It iterates over sequences for us, freeing us from having to deal directly with iterators or write predicates.

Created Version:boost-1.58.0
Most Recent Modified Version:boost-1.89.0
Total Repositories:2,410
Average New Repositories Per Year:125.00
Most Recent Year Repository Count:71
Most Used Year:2014
Average Stars:168
Activity Score:-1.287
Internal Consumers:114
Contributors in Most Recent Version:2
Total Contributors:22

Used Headers

Internal Consumers

Consumer Libraries

External Consumers

External Repositories

Contribution

Contributors