summaryrefslogtreecommitdiffstats
path: root/src/boost/libs/foreach/meta
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 18:24:20 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 18:24:20 +0000
commit483eb2f56657e8e7f419ab1a4fab8dce9ade8609 (patch)
treee5d88d25d870d5dedacb6bbdbe2a966086a0a5cf /src/boost/libs/foreach/meta
parentInitial commit. (diff)
downloadceph-upstream.tar.xz
ceph-upstream.zip
Adding upstream version 14.2.21.upstream/14.2.21upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/boost/libs/foreach/meta')
-rw-r--r--src/boost/libs/foreach/meta/libraries.json15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/boost/libs/foreach/meta/libraries.json b/src/boost/libs/foreach/meta/libraries.json
new file mode 100644
index 00000000..0215781a
--- /dev/null
+++ b/src/boost/libs/foreach/meta/libraries.json
@@ -0,0 +1,15 @@
+{
+ "key": "foreach",
+ "name": "Foreach",
+ "authors": [
+ "Eric Niebler"
+ ],
+ "description": "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.",
+ "category": [
+ "Algorithms",
+ "Emulation"
+ ],
+ "maintainers": [
+ "Eric Niebler <eric -at- boostpro.com>"
+ ]
+}