: 1
name: libboost-foreach
version: 1.91.0
type: lib,binless
language: c++
project: boost
summary: 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
license: BSL-1.0 ; Boost Software License 1.0.
topics: C++, Boost
url: https://github.com/boostorg/foreach
doc-url: https://www.boost.org/doc/libs/1_91_0/libs/foreach
package-url: https://github.com/build2-packaging/boost
email: boost-users@lists.boost.org  ; Mailing list.
package-email: packaging@build2.org ; Mailing list.
#build-error-email: builds@build2.org
builds: default
builds: -( +macos &gcc ) ; https://github.com/boostorg/config/issues/399
depends: * build2 >= 0.18.0
depends: * bpkg >= 0.18.0
depends: libboost-config == $
depends: libboost-core == $
depends: libboost-iterator == $
depends: libboost-mpl == $
depends: libboost-range == $
depends: libboost-type-traits == $
