v3 flag enabled

Find a battle-tested library for the problem you're solving right now.

Excited Cartoon Mascot Excited Cartoon Mascot
Algorithm

A collection of useful generic algorithms.

Algorithms C++ 03
C++ 03
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.

C++ 03
Geometry

The Boost.Geometry library provides geometric algorithms, primitives and spatial index.

C++ 03
C++ 03
Graph

The BGL graph interface and graph components are generic, in the same sense as the the Standard Template Library (STL).

C++ 03
GraphParallel

The PBGL graph interface and graph components are generic, in the same sense as the the Standard Template Library (STL).

C++ 03
Min-Max

Standard library extensions for simultaneous min/max and min/max element computations.

Algorithms C++ 03
C++ 03
Polygon

Voronoi diagram construction and booleans/clipping, resizing/offsetting and more for planar polygons with integral coordinates.

C++ 03
QVM

Boost QVM is a generic library for working with quaternions, vectors and matrices of static size with the emphasis on 2, 3 and 4-dimensional operations needed in graphics, video games and simulation applications.

C++ 03
Range

A new infrastructure for generic algorithms that builds on top of the new iterator concepts.

Algorithms C++ 03
C++ 03
Sort

High-performance templated sort functions.

Algorithms C++ 03
C++ 03
String Algo

String algorithms library.

C++ 03