Boost
Libraries
arrow_drop_down
List View
Grid View
Category View

Framework for incremental calculation, and collection of statistical accumulators.

C++ 03

A collection of useful generic algorithms.

C++ 03

Memory alignment functions, allocators, traits.

C++ 03

Any

Safe, generic container for single values of different value types.

C++ 11

STL compliant container wrapper for arrays of constant size.

C++ 03

Portable networking and other low-level I/O, including sockets, timers, hostname resolution, socket iostreams, serial ports, file descriptors and Windows HANDLEs.

C++ 11

Customizable assert macros.

Filling containers with constant or generated data has never been easier.

C++ 03
IO

C++11-style atomic types.

C++ 11

Portable HTTP, WebSocket, and network operations using only C++11 and Boost.Asio

C++ 11

Bidirectional maps library for C++. With Boost.Bimap you can create associative containers in which both types can be used as key.

C++ 03

boost::bind is a generalization of the standard functions std::bind1st and std::bind2nd. It supports arbitrary function objects, functions, function pointers, and member function pointers, and is able to bind any argument to a specific value or route input arguments into arbitrary positions.

A spiritual successor to Boost.FunctionTypes, Boost.CallableTraits is a header-only C++11 library for the compile-time inspection and manipulation of all 'callable' types. Additional support for C++17 features.

Defines types for passing parameters.

C++ 03

An implementation of <charconv> in C++11.

Useful time utilities. C++11.

C++ 11

A STL compliant container also known as ring or cyclic buffer.

C++ 03

Coroutines. Basic Algorithms & Types

C++11 implementations of standard components added in later C++ standards.

A pair class with empty member optimization.

C++ 03

Parallel/GPU-computing library

C++ 03

Tools for generic programming.

Helps Boost library developers adapt to compiler idiosyncrasies; not intended for library users.

C++ 03

Standard library containers and extensions.

C++ 03

An STL-compatible hash function object that can be extended to hash user defined types.

(C++11) Context switching library.

C++ 11

Contract programming for C++. All contract programming features are supported: Subcontracting, class invariants, postconditions (with old and return values), preconditions, customizable actions on assertion failure (e.g., terminate or throw), optional compilation and checking of assertions, etc.

C++ 03

Polymorphic casts.

C++ 11

An extendible and configurable type-conversion framework.

A collection of simple core utilities with minimal dependencies.

C++ 03

Coroutine library.

C++ 03

(C++11) Coroutine library.

C++ 11

CRC

The Boost CRC Library provides two implementations of CRC (cyclic redundancy code) computation objects and two implementations of CRC computation functions. The implementations are template-based.

C++ 11

A set of date-time libraries based on generic programming concepts.

C++ 03

A C++14 reflection library.

This library contains a set of header only utilities used internally by Boost C++ Libraries to facilitate their implementation.

C++ 03

DLL

Library for comfortable work with DLL and DSO.

C++ 11

The dynamic_bitset class represents a set of bits. It provides accesses to the value of individual bits via an operator[] and provides all of the bitwise operators that one can apply to builtin integers, such as operator& and operator<<. The number of bits in the set is specified at runtime via a parameter to the constructor of the dynamic_bitset.

C++ 03

Selective inclusion of function template overloads.

C++ 03

Types and conversion functions for correct byte ordering and more regardless of processor endianness.

C++ 11

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

(C++11) Userland threads library.

C++ 11

The Boost Filesystem Library provides portable facilities to query and manipulate paths, files, and directories.

C++ 11

Design pattern to manage large quantities of highly redundant objects.

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 format library provides a type-safe mechanism for formatting arguments according to a printf-like format-string.

C++ 11

Function object wrappers for deferred calls or callbacks.

The Boost.Function library contains a family of class templates that are function object wrappers.

Function object templates for dynamic and static object creation

Adapters to allow generic function objects to accept arbitrary arguments

Overload different functions into a single function object.

Boost.FunctionTypes provides functionality to classify, decompose and synthesize function, function pointer, function reference and pointer to member types.

Library for working with tuples, including various containers, algorithms, etc.

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).

A modern C++ metaprogramming library. It provides high level algorithms to manipulate heterogeneous sequences, allows writing type-level computations with a natural syntax, provides tools to introspect user-defined types and much more.

Priority queue data structures.

C++ 03

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

C++ 14

HOF

Higher-order functions for C++

ICL

Interval Container Library, interval sets and maps and aggregation of associated values

C++ 03

Wrap types within round parenthesis so they can always be passed as macro parameters.

C++ 03

Generic in-place construction of contained objects with a variadic argument-list.

C++ 03

The organization of boost integer headers and classes is designed to take advantage of <stdint.h> types from the 1999 C standard without resorting to undefined behavior in terms of the 1998 C++ standard. The header <boost/cstdint.hpp> makes the standard integer types safely available in namespace boost without placing any names in namespace std.

C++ 03

Shared memory, memory mapped files, process-shared mutexes, condition variables, containers and allocators.

C++ 03

Extends the usual arithmetic functions to mathematical intervals.

C++ 03

Intrusive containers and algorithms.

C++ 03

IO

Utilities for the standard I/O library.

C++ 03
IO

Boost.IOStreams provides a framework for defining streams, stream buffers and i/o filters.

C++ 03

The Boost Iterator Library contains two parts. The first is a system of concepts which extend the C++ standard iterator requirements. The second is a framework of components for building iterators based on these extended concepts and includes several useful iterator adaptors.

C++ 03

JSON parsing, serialization, and DOM in C++11

C++ 11

Define small unnamed function objects at the actual call site, and more.

A C++14 lambda library.

A lightweight error handling library for C++11.

General literal text conversions, such as an int represented a string, or vice-versa.

Provide localization and Unicode handling tools for C++.

C++ 11

Program functions locally, within other functions, directly within the scope where they are needed.

Lockfree data structures.

C++ 14

Log

Logging library.

C++ 11

Boost.Math includes several contributions in the domain of mathematics: Floating Point Utilities, Specific Width Floating Point Types, Mathematical Constants, Statistical Distributions, Special Functions, Root Finding and Function Minimization, Polynomials and Rational Functions, Interpolation, and Numerical Integration and Differentiation. Many of these features are templated to support both built-in, and extended width types (e.g. Boost.Multiprecision)

C++ 14

Generalized binders for function/object/pointers and member functions.

A library for generating compile time parsers parsing embedded DSL code as part of the C++ compilation process

A very high-performance library for expressive UML2 finite state machines.

C++ 03

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

C++ 03

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

C++ 03

A C++11 metaprogramming library.

MPI

Message Passing Interface library, for use in distributed-memory parallel application programming.

C++ 03

MPL

The Boost.MPL library is a general-purpose, high-level C++ template metaprogramming framework of compile-time algorithms, sequences and metafunctions. It provides a conceptual foundation and an extensive set of powerful and coherent tools that make doing explict metaprogramming in C++ as easy and enjoyable as possible within the current language.

Boost.MultiArray provides a generic N-dimensional array concept definition and common implementations of that interface.

C++ 03

The Boost Multi-index Containers Library provides a class template named multi_index_container which enables the construction of containers maintaining one or more indices with different sorting and access semantics.

C++ 03

Extended precision arithmetic types for floating point, integer, and rational arithmetic.

C++ 14

MySQL client library built on top of Boost.Asio.

C++ 11

Standard library functions with UTF-8 API on Windows.

C++ 11

Optimized Policy-based Numeric Conversions.

Solving ordinary differential equations.

C++ 11

Templates to simplify operator definition in arithmetic classes and iterators.

A value-semantic, type-safe wrapper for representing 'optional' (or 'nullable') objects of a given type. An optional object may or may not contain a value of the underlying type.

C++ 11

A deterministic failure handling library partially simulating lightweight exceptions.

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

Boost.Parameter Library Python bindings.

A parser combinator library.

C++ 03

PFR

Basic reflection for user defined types.

Define small unnamed function objects at the actual call site, and more.

Containers for storing heap-allocated polymorphic objects to ease OO-programming.

C++ 03

Fast containers of polymorphic objects.

C++ 11

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

C++ 03

Memory pool management.

C++ 03

This library defines a set of compiler, architecture, operating system, library, and other version numbers from the information it can gather of C, C++, Objective C, and Objective C++ predefined macros or those defined in generally available headers.

C++ 98

Preprocessor metaprogramming tools including repetition and recursion.

C++ 03

Library to create processes in a portable way.

C++ 11

The program_options library allows program developers to obtain program options, that is (name, value) pairs from the user, via conventional methods such as command line and config file.

C++ 11

Concepts defining interfaces which map key objects to value objects.

Parallel extensions to Property Map for use with Parallel Graph.

A tree data structure especially suited to storing configuration data.

C++ 11

Expression template library and compiler construction toolkit for domain-specific embedded languages.

The Boost Python Library is a framework for interfacing Python and C++. It allows you to quickly and seamlessly expose C++ classes functions and objects to Python, and vice-versa, using no special tools -- just your C++ compiler.

QVM

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

A complete system for random number generation.

C++ 11

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

C++ 03

Compile time rational arithmetic. C++11.

C++ 11

A rational number class.

C++ 03

Redis async client library built on top of Boost.Asio.

C++ 17

Ref

A utility library for passing references to generic functions.

Regular expression library.

C++ 11

Determines the type of a function call expression.

Guaranteed Correct Integer Arithmetic

C++ 14

A collection of scope guards and a unique_resource wrapper.

Execute arbitrary code at scope exit.

C++ 03

Serialization for persistence and marshalling.

C++ 03
IO

Managed signals & slots callback implementation (thread-safe version 2).

Smart pointer class templates.

C++ 11

High-performance templated sort functions.

C++ 03

LL parser framework represents parsers directly as EBNF grammars in inlined C++.

C++ 03

Gather, store, copy and print backtraces.

Boost.Statechart - Arbitrarily complex finite state machines can be implemented in easily readable and maintainable C++ code.

C++ 03

Static assertions (compile time assertions).

A fixed capacity dynamically sized string.

C++ 11

C++14 and later CRTP templates for defining iterators, views, and containers.

C++ 14

String algorithms library.

C++ 03

String view templates.

C++ 03

Enhanced generic swap function.

C++ 03

Extensible error reporting.

Support for simple program testing, full unit testing, and for program execution monitoring.

C++ 11

Portable C++ multi-threading. C++11, C++14, C++17.

C++ 11

A common infrastructure for throwing exceptions from Boost libraries.

Event timer, progress timer, and progress display classes.

C++ 03

Break of a string or other character sequence into a series of tokens.

C++ 03

3-state boolean type library.

C++ 03

TTI

Type Traits Introspection library.

Ease definition of functions returning multiple values, and more.

C++ 03

Runtime polymorphism based on concepts.

C++ 03

Runtime/Compile time copyable type info.

C++ 11

Typeof operator emulation.

C++ 11

Templates for fundamental properties of types.

uBLAS provides tensor, matrix, and vector classes as well as basic linear algebra routines. Several dense, packed and sparse storage schemes are supported.

C++ 03

Zero-overhead dimensional analysis and unit/quantity manipulation and conversion.

C++ 03

Unordered associative containers.

C++ 11

URL

URL parsing in C++11

C++ 11

Various utilities, such as base-from-member idiom and binary literals in C++03.

A universally unique identifier.

C++ 11

Wrapper for uniform-syntax value initialization, based on the original idea of David Abrahams.

C++ 03

Safe, generic, stack-based discriminated union container.

C++ 11

A never-valueless, strong guarantee implementation of std::variant.

C++ 11

VMD

Variadic Macro Data library.

C++ 03

The Boost.Wave library is a Standards conformant, and highly configurable implementation of the mandated C99/C++ preprocessor functionality packed behind an easy to use iterator interface.

C++ 11

Windows API abstraction layer.

C++ 03

Regular expressions that can be written as strings or as expression templates, and which can refer to each other and themselves recursively with the power of context-free grammars.

C++ 03

YAP

An expression template library for C++14 and later.