MVN

com.github.brunotl : boost_foreach

Maven & Gradle

Jan 07, 2023
8 stars

Foreach · 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.

<dependency>
    <groupId>com.github.brunotl</groupId>
    <artifactId>boost_foreach</artifactId>
    <version>1.81.0</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of com.github.brunotl : boost_foreach to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 1.81.0

All Versions

Choose a version of com.github.brunotl : boost_foreach to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
1.81.x
boost_foreach-1.81.0

How to add a dependency to Maven

Add the following com.github.brunotl : boost_foreach maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>com.github.brunotl</groupId>
    <artifactId>boost_foreach</artifactId>
    <version>1.81.0</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following com.github.brunotl : boost_foreach gradle dependency to your build.gradle file:

implementation 'com.github.brunotl:boost_foreach:1.81.0'

Gradle Kotlin DSL: Add the following com.github.brunotl : boost_foreach gradle kotlin dependency to your build.gradle.kts file:

implementation("com.github.brunotl:boost_foreach:1.81.0")

How to add a dependency to SBT Scala

SBT Scala: Add the following com.github.brunotl : boost_foreach sbt scala dependency to your build.sbt file:

libraryDependencies += "com.github.brunotl" % "boost_foreach" % "1.81.0"

Advertisement

Dependencies from Group

Jan 07, 2023
16 usages
68 stars
Jan 07, 2023
9 usages
14 stars
Jan 07, 2023
8 usages
9 stars
Jan 07, 2023
8 usages
31 stars
Jan 07, 2023
7 usages
131 stars

Discover Dependencies

Jan 07, 2023
22 stars
Jan 07, 2023
17 stars
Jan 07, 2023
47 stars
Jan 07, 2023
18 stars
Jan 07, 2023
32 stars
Jan 07, 2023
226 stars
Jan 07, 2023
46 stars
Jan 07, 2023
42 stars
Jan 07, 2023
56 stars