Roscidus.com Zero Install Mirror

» Main » Boost.Foreach (source code)

Boost.Foreach (source code) - A C++ library from Boost.org

Published by David Abrahams

Overview

This is a Zero Install feed. This software cannot be run as an application directly. It is a library for other programs to use.

For more information about Zero Install, see 0install.net.

Full name

http://ryppl.github.com/feeds/boost/foreach-src.xml

Icon

Homepage

http://www.boost.org/libs/foreach/

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.

Available versions

The list below is just for information; Zero Install will automatically select one of these versions for you.

VersionReleasedStabilityPlatformDownload
1.51-post-2012.12.03.02502012-12-02developer*-*Download (39936 bytes)
Required libraries

The list below is just for information; Zero Install will automatically download any required libraries for you.