Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.

Boost 1.69.0 Library Documentation - Language Features Emulation

Sort by:

Language Features Emulation

Exception

The Boost Exception library supports transporting of arbitrary data in exception objects, and transporting of exceptions between threads.

Author(s)
Emil Dotchevski
First Release
1.36.0
Categories
Language Features Emulation
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.

Author(s)
Eric Niebler
First Release
1.34.0
Categories
Algorithms, Language Features Emulation
Move

Portable move semantics for C++03 and C++11 compilers.

Author(s)
Ion Gaztañaga
First Release
1.48.0
Categories
Language Features Emulation
Parameter

Boost.Parameter Library - Write functions that accept arguments by name.

Author(s)
David Abrahams and Daniel Wallin
First Release
1.33.0
Categories
Language Features Emulation, Programming Interfaces
Parameter Python Bindings

Boost.Parameter Library Python bindings.

Author(s)
David Abrahams and Daniel Wallin
First Release
1.69.0
Categories
Language Features Emulation, Programming Interfaces
Scope Exit

Execute arbitrary code at scope exit.

Author(s)
Alexander Nasonov
First Release
1.38.0
Categories
Language Features Emulation
Type Index

Runtime/Compile time copyable type info.

Author(s)
Antony Polukhin
First Release
1.56.0
Categories
Language Features Emulation
Typeof

Typeof operator emulation.

Author(s)
Arkadiy Vertleyb and Peder Holt
First Release
1.34.0
Categories
Language Features Emulation