boost
arrow_drop_down
List View
Grid View
Category View

A collection of useful generic algorithms.

C++ 03

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.

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

C++ 14

GIL

(C++14) Generic Image Library

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

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

Fast multi-dimensional histogram with convenient interface for C++14

C++ 14

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

C++ 03

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

C++ 03

QVM

Generic C++ library for working with Quaternions Vectors and Matrices.

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

C++ 03

High-performance templated sort functions.

C++ 03

String algorithms library.

C++ 03