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.
⚠️ This library has no README.md or library-details.adoc; consider contributing one.
01
Code CommitsCommits authored to any Boost repository. With 1 contribution, you will earn the bronze badge for Code Commits.
01
DocumentationDoc contributions using standardised Boost tooling (Antora / BoostLook). With 1 contribution, you will earn the bronze badge for Documentation.
01
Library AuthoringAuthored an original Boost library accepted into the collection. With 1 contribution, you will earn the bronze badge for Library Authoring.
01
Library MaintenanceNumber of libraries actively maintained. With 1 contribution, you will earn the bronze badge for Library Maintenance.
01
Library ReviewFormal review submissions on Boost proposals. With 1 contribution, you will earn the bronze badge for Library Review.
10
Library VersioningAuthored new versions / releases of Boost libraries. With 10 contributions, you will earn the bronze badge for Library Versioning.
01
Mailing List ParticipationParticipation on the Boost developers mailing list. With 1 contribution, you will earn the bronze badge for Mailing List Participation.
01
News Posts PublishedArticles / news posts published on Boost.org. With 1 contribution, you will earn the bronze badge for News Posts Published.
Badges
⚠️ This library has no README.md or library-details.adoc; consider contributing one.
Achievement-basedReflects the depth of your contributions. Accumulate achievements to unlock five tiers; Bronze, Silver, Gold, Platinum and Diamond.
Tenure-basedAwarded in recognition of your time on the platform. The longer you've been part of the Boost community, the higher the tier you unlock.
Boost day celebrationA celebration of the day you joined Boost. Awarded annually to mark another year as part of the community.