Boost
boost
arrow_drop_down
List View
Grid View
Category View
Algorithms
Algorithm C++ 03
A collection of useful generic algorithms.
Foreach 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.
Geometry C++ 14
The Boost.Geometry library provides geometric algorithms, primitives and spatial index.
GIL C++ 14
(C++14) Generic Image Library
Graph C++ 14
The BGL graph interface and graph components are generic, in the same sense as the Standard Template Library (STL).
GraphParallel C++ 03
The PBGL graph interface and graph components are generic, in the same sense as the Standard Template Library (STL).
Histogram C++ 14
Fast multi-dimensional histogram with convenient interface for C++14
Min-Max C++ 03
Standard library extensions for simultaneous min/max and min/max element computations.
Polygon C++ 03
Voronoi diagram construction and booleans/clipping, resizing/offsetting and more for planar polygons with integral coordinates.
QVM C++ 03
Generic C++ library for working with Quaternions Vectors and Matrices.
Range C++ 03
A new infrastructure for generic algorithms that builds on top of the new iterator concepts.
Sort C++ 03
High-performance templated sort functions.
String Algo C++ 03
String algorithms library.
Asynchronous
Cobalt C++ 20
Coroutines. Basic Algorithms & Types
Awaitables
Cobalt C++ 20
Coroutines. Basic Algorithms & Types
Concurrent
Asio C++ 11
Portable networking and other low-level I/O, including sockets, timers, hostname resolution, socket iostreams, serial ports, file descriptors and Windows HANDLEs.
Atomic C++ 11
C++11-style atomic types.
Beast C++ 11
Portable HTTP, WebSocket, and network operations using only C++11 and Boost.Asio
Cobalt C++ 20
Coroutines. Basic Algorithms & Types
Compute C++ 03
Parallel/GPU-computing library
Context C++ 11
(C++11) Context switching library.
Coroutine C++ 03
Coroutine library.
Coroutine2 C++ 11
(C++11) Coroutine library.
Fiber C++ 11
(C++11) Userland threads library.
Interprocess C++ 03
Shared memory, memory mapped files, process-shared mutexes, condition variables, containers and allocators.
Lockfree C++ 03
Lockfree data structures.
MPI C++ 03
Message Passing Interface library, for use in distributed-memory parallel application programming.
MySQL C++ 11
MySQL client library built on top of Boost.Asio.
Redis C++ 17
Redis async client library built on top of Boost.Asio.
Thread C++ 11
Portable C++ multi-threading. C++11, C++14, C++17.
Containers
Array C++ 03
STL compliant container wrapper for arrays of constant size.
Bimap C++ 03
Bidirectional maps library for C++. With Boost.Bimap you can create associative containers in which both types can be used as key.
Circular Buffer C++ 03
A STL compliant container also known as ring or cyclic buffer.
Container C++ 03
Standard library containers and extensions.
Dynamic Bitset C++ 03
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.
GIL C++ 14
(C++14) Generic Image Library
Graph C++ 14
The BGL graph interface and graph components are generic, in the same sense as the Standard Template Library (STL).
GraphParallel C++ 03
The PBGL graph interface and graph components are generic, in the same sense as the Standard Template Library (STL).
ICL C++ 03
Interval Container Library, interval sets and maps and aggregation of associated values
Intrusive C++ 03
Intrusive containers and algorithms.
JSON C++ 11
JSON parsing, serialization, and DOM in C++11
Multi-Array C++ 03
Boost.MultiArray provides a generic N-dimensional array concept definition and common implementations of that interface.
Multi-Index 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.
Pointer Container C++ 03
Containers for storing heap-allocated polymorphic objects to ease OO-programming.
PolyCollection C++ 11
Fast containers of polymorphic objects.
Property Map C++ 03
Concepts defining interfaces which map key objects to value objects.
Property Map (Parallel) C++ 03
Parallel extensions to Property Map for use with Parallel Graph.
Property Tree C++ 11
A tree data structure especially suited to storing configuration data.
Static String C++ 11
A fixed capacity dynamically sized string.
String View C++ 03
String view templates.
Unordered C++ 11
Unordered associative containers.
URL C++ 11
URL parsing in C++11
Variant C++ 11
Safe, generic, stack-based discriminated union container.
Variant2 C++ 11
A never-valueless, strong guarantee implementation of std::variant.
Coroutines
Cobalt C++ 20
Coroutines. Basic Algorithms & Types
Correctness
Assert C++ 03
Customizable assert macros.
Concept Check C++ 03
Tools for generic programming.
Contract C++ 03
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.
Safe Numerics C++ 14
Guaranteed Correct Integer Arithmetic
Stacktrace C++ 11
Gather, store, copy and print backtraces.
Static Assert C++ 03
Static assertions (compile time assertions).
Test C++ 11
Support for simple program testing, full unit testing, and for program execution monitoring.
Data
Any C++ 11
Safe, generic container for single values of different value types.
Bimap C++ 03
Bidirectional maps library for C++. With Boost.Bimap you can create associative containers in which both types can be used as key.
Compressed Pair C++ 03
A pair class with empty member optimization.
Container C++ 03
Standard library containers and extensions.
Fusion C++ 03
Library for working with tuples, including various containers, algorithms, etc.
Geometry C++ 14
The Boost.Geometry library provides geometric algorithms, primitives and spatial index.
Heap C++ 03
Priority queue data structures.
Histogram C++ 14
Fast multi-dimensional histogram with convenient interface for C++14
ICL C++ 03
Interval Container Library, interval sets and maps and aggregation of associated values
JSON C++ 11
JSON parsing, serialization, and DOM in C++11
Multi-Index 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.
Optional C++ 03
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.
PFR C++ 14
Basic reflection for user defined types.
Pointer Container C++ 03
Containers for storing heap-allocated polymorphic objects to ease OO-programming.
Polygon C++ 03
Voronoi diagram construction and booleans/clipping, resizing/offsetting and more for planar polygons with integral coordinates.
Property Tree C++ 11
A tree data structure especially suited to storing configuration data.
Tuple C++ 03
Ease definition of functions returning multiple values, and more.
Type Erasure C++ 03
Runtime polymorphism based on concepts.
URL C++ 11
URL parsing in C++11
Uuid C++ 11
A universally unique identifier.
Variant C++ 11
Safe, generic, stack-based discriminated union container.
Variant2 C++ 11
A never-valueless, strong guarantee implementation of std::variant.
Domain
Chrono C++ 11
Useful time utilities. C++11.
CRC C++ 11
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.
Date Time C++ 03
A set of date-time libraries based on generic programming concepts.
Units C++ 03
Zero-overhead dimensional analysis and unit/quantity manipulation and conversion.
Uuid C++ 11
A universally unique identifier.
Emulation
Compat C++ 11
C++11 implementations of standard components added in later C++ standards.
Describe C++ 03
A C++14 reflection library.
Exception C++ 03
The Boost Exception library supports transporting of arbitrary data in exception objects, and transporting of exceptions between threads.
Foreach 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.
Move C++ 03
Portable move semantics for C++03 and C++11 compilers.
Outcome C++ 14
A deterministic failure handling library partially simulating lightweight exceptions.
Parameter C++ 03
Boost.Parameter Library - Write functions that accept arguments by name.
Parameter Python Bindings C++ 03
Boost.Parameter Library Python bindings.
Scope C++ 11
A collection of scope guards and a unique_resource wrapper.
Scope Exit C++ 03
Execute arbitrary code at scope exit.
ThrowException C++ 03
A common infrastructure for throwing exceptions from Boost libraries.
Type Index C++ 11
Runtime/Compile time copyable type info.
Typeof C++ 11
Typeof operator emulation.
Error-handling
Assert C++ 03
Customizable assert macros.
Exception C++ 03
The Boost Exception library supports transporting of arbitrary data in exception objects, and transporting of exceptions between threads.
LEAF C++ 11
A lightweight error handling library for C++11.
System C++ 11
Extensible error reporting.
ThrowException C++ 03
A common infrastructure for throwing exceptions from Boost libraries.
Function-objects
Bind C++ 11
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.
Container Hash C++ 11
An STL-compatible hash function object that can be extended to hash user defined types.
Function C++ 11
Function object wrappers for deferred calls or callbacks.
Functional C++ 03
The Boost.Function library contains a family of class templates that are function object wrappers.
Functional/Factory C++ 03
Function object templates for dynamic and static object creation
Functional/Forward C++ 03
Adapters to allow generic function objects to accept arbitrary arguments
Functional/Overloaded Function C++ 03
Overload different functions into a single function object.
HOF C++ 11
Higher-order functions for C++
Lambda C++ 03
Define small unnamed function objects at the actual call site, and more.
Lambda2 C++ 14
A C++14 lambda library.
Local Function C++ 03
Program functions locally, within other functions, directly within the scope where they are needed.
Member Function C++ 11
Generalized binders for function/object/pointers and member functions.
Phoenix C++ 03
Define small unnamed function objects at the actual call site, and more.
Ref C++ 03
A utility library for passing references to generic functions.
Result Of C++ 03
Determines the type of a function call expression.
Signals2 C++ 03
Managed signals & slots callback implementation (thread-safe version 2).
Generic
Call Traits C++ 03
Defines types for passing parameters.
Concept Check C++ 03
Tools for generic programming.
Enable If C++ 03
Selective inclusion of function template overloads.
Function Types C++ 03
Boost.FunctionTypes provides functionality to classify, decompose and synthesize function, function pointer, function reference and pointer to member types.
GIL C++ 14
(C++14) Generic Image Library
In Place Factory, Typed In Place Factory C++ 03
Generic in-place construction of contained objects with a variadic argument-list.
Operators C++ 03
Templates to simplify operator definition in arithmetic classes and iterators.
Property Map C++ 03
Concepts defining interfaces which map key objects to value objects.
Property Map (Parallel) C++ 03
Parallel extensions to Property Map for use with Parallel Graph.
QVM C++ 03
Generic C++ library for working with Quaternions Vectors and Matrices.
Static Assert C++ 03
Static assertions (compile time assertions).
Stl_interfaces C++ 14
C++14 and later CRTP templates for defining iterators, views, and containers.
TTI C++ 03
Type Traits Introspection library.
Type Traits C++ 03
Templates for fundamental properties of types.
YAP C++ 14
An expression template library for C++14 and later.
Image-processing
GIL C++ 14
(C++14) Generic Image Library
Inter-language
Python C++ 03
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.
IO
Asio C++ 11
Portable networking and other low-level I/O, including sockets, timers, hostname resolution, socket iostreams, serial ports, file descriptors and Windows HANDLEs.
Assign C++ 03
Filling containers with constant or generated data has never been easier.
Beast C++ 11
Portable HTTP, WebSocket, and network operations using only C++11 and Boost.Asio
Endian C++ 11
Types and conversion functions for correct byte ordering and more regardless of processor endianness.
Format C++ 11
The format library provides a type-safe mechanism for formatting arguments according to a printf-like format-string.
IO C++ 03
Utilities for the standard I/O library.
Iostreams C++ 03
Boost.IOStreams provides a framework for defining streams, stream buffers and i/o filters.
JSON C++ 11
JSON parsing, serialization, and DOM in C++11
MySQL C++ 11
MySQL client library built on top of Boost.Asio.
Program Options 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.
Redis C++ 17
Redis async client library built on top of Boost.Asio.
Serialization C++ 03
Serialization for persistence and marshalling.
URL C++ 11
URL parsing in C++11
Iterators
GIL C++ 14
(C++14) Generic Image Library
Graph C++ 14
The BGL graph interface and graph components are generic, in the same sense as the Standard Template Library (STL).
GraphParallel C++ 03
The PBGL graph interface and graph components are generic, in the same sense as the Standard Template Library (STL).
Iterator 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.
Operators C++ 03
Templates to simplify operator definition in arithmetic classes and iterators.
Tokenizer C++ 03
Break of a string or other character sequence into a series of tokens.
Math
Accumulators C++ 03
Framework for incremental calculation, and collection of statistical accumulators.
Endian C++ 11
Types and conversion functions for correct byte ordering and more regardless of processor endianness.
Geometry C++ 14
The Boost.Geometry library provides geometric algorithms, primitives and spatial index.
Histogram C++ 14
Fast multi-dimensional histogram with convenient interface for C++14
Integer 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.
Interval C++ 03
Extends the usual arithmetic functions to mathematical intervals.
Math C++ 14
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)
Multi-Array C++ 03
Boost.MultiArray provides a generic N-dimensional array concept definition and common implementations of that interface.
Multiprecision C++ 14
Extended precision arithmetic types for floating point, integer, and rational arithmetic.
Numeric Conversion C++ 03
Optimized Policy-based Numeric Conversions.
Odeint C++ 11
Solving ordinary differential equations.
Operators C++ 03
Templates to simplify operator definition in arithmetic classes and iterators.
Polygon C++ 03
Voronoi diagram construction and booleans/clipping, resizing/offsetting and more for planar polygons with integral coordinates.
QVM C++ 03
Generic C++ library for working with Quaternions Vectors and Matrices.
Random C++ 11
A complete system for random number generation.
Ratio C++ 11
Compile time rational arithmetic. C++11.
Rational C++ 03
A rational number class.
Safe Numerics C++ 14
Guaranteed Correct Integer Arithmetic
uBLAS C++ 03
uBLAS provides tensor, matrix, and vector classes as well as basic linear algebra routines. Several dense, packed and sparse storage schemes are supported.
Memory
Align C++ 03
Memory alignment functions, allocators, traits.
Pool C++ 03
Memory pool management.
Smart Ptr C++ 03
Smart pointer class templates.
Metaprogramming
CallableTraits C++ 11
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.
Describe C++ 03
A C++14 reflection library.
Function Types C++ 03
Boost.FunctionTypes provides functionality to classify, decompose and synthesize function, function pointer, function reference and pointer to member types.
Fusion C++ 03
Library for working with tuples, including various containers, algorithms, etc.
Hana C++ 14
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.
HOF C++ 11
Higher-order functions for C++
Metaparse C++ 03
A library for generating compile time parsers parsing embedded DSL code as part of the C++ compilation process
Mp11 C++ 11
A C++11 metaprogramming library.
MPL C++ 03
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.
PFR C++ 14
Basic reflection for user defined types.
Proto C++ 03
Expression template library and compiler construction toolkit for domain-specific embedded languages.
Static Assert C++ 03
Static assertions (compile time assertions).
TTI C++ 03
Type Traits Introspection library.
Type Traits C++ 03
Templates for fundamental properties of types.
YAP C++ 14
An expression template library for C++14 and later.
Miscellaneous
CharConv C++ 11
An implementation of <charconv> in C++11.
Conversion C++ 11
Polymorphic casts.
Convert C++ 11
An extendible and configurable type-conversion framework.
Core C++ 03
A collection of simple core utilities with minimal dependencies.
Detail C++ 03
This library contains a set of header only utilities used internally by Boost C++ Libraries to facilitate their implementation.
Endian C++ 11
Types and conversion functions for correct byte ordering and more regardless of processor endianness.
Lexical Cast C++ 11
General literal text conversions, such as an int represented a string, or vice-versa.
Log C++ 11
Logging library.
Numeric Conversion C++ 03
Optimized Policy-based Numeric Conversions.
Predef C++ 98
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.
Program Options 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.
Swap C++ 03
Enhanced generic swap function.
Timer C++ 03
Event timer, progress timer, and progress display classes.
Tribool C++ 03
3-state boolean type library.
Utility C++ 03
Various utilities, such as base-from-member idiom and binary literals in C++03.
Value Initialized C++ 03
Wrapper for uniform-syntax value initialization, based on the original idea of David Abrahams.
WinAPI C++ 03
Windows API abstraction layer.
Parsing
Spirit C++ 03
LL parser framework represents parsers directly as EBNF grammars in inlined C++.
Patterns
Compressed Pair C++ 03
A pair class with empty member optimization.
Flyweight C++ 03
Design pattern to manage large quantities of highly redundant objects.
Outcome C++ 14
A deterministic failure handling library partially simulating lightweight exceptions.
Scope C++ 11
A collection of scope guards and a unique_resource wrapper.
Signals2 C++ 03
Managed signals & slots callback implementation (thread-safe version 2).
Utility C++ 03
Various utilities, such as base-from-member idiom and binary literals in C++03.
Preprocessor
Identity Type C++ 03
Wrap types within round parenthesis so they can always be passed as macro parameters.
Preprocessor C++ 03
Preprocessor metaprogramming tools including repetition and recursion.
VMD C++ 03
Variadic Macro Data library.
Programming
Compat C++ 11
C++11 implementations of standard components added in later C++ standards.
Function C++ 11
Function object wrappers for deferred calls or callbacks.
Outcome C++ 14
A deterministic failure handling library partially simulating lightweight exceptions.
Parameter C++ 03
Boost.Parameter Library - Write functions that accept arguments by name.
Parameter Python Bindings C++ 03
Boost.Parameter Library Python bindings.
System C++ 11
Extensible error reporting.
State
Meta State Machine C++ 03
A very high-performance library for expressive UML2 finite state machines.
Statechart C++ 03
Boost.Statechart - Arbitrarily complex finite state machines can be implemented in easily readable and maintainable C++ code.
String
CharConv C++ 11
An implementation of <charconv> in C++11.
Convert C++ 11
An extendible and configurable type-conversion framework.
Format C++ 11
The format library provides a type-safe mechanism for formatting arguments according to a printf-like format-string.
Iostreams C++ 03
Boost.IOStreams provides a framework for defining streams, stream buffers and i/o filters.
Lexical Cast C++ 11
General literal text conversions, such as an int represented a string, or vice-versa.
Locale C++ 11
Provide localization and Unicode handling tools for C++.
Regex C++ 11
Regular expression library.
Spirit C++ 03
LL parser framework represents parsers directly as EBNF grammars in inlined C++.
Static String C++ 11
A fixed capacity dynamically sized string.
String Algo C++ 03
String algorithms library.
String View C++ 03
String view templates.
Tokenizer C++ 03
Break of a string or other character sequence into a series of tokens.
Wave C++ 11
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.
Xpressive 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.
System
Chrono C++ 11
Useful time utilities. C++11.
Context C++ 11
(C++11) Context switching library.
Date Time C++ 03
A set of date-time libraries based on generic programming concepts.
DLL C++ 11
Library for comfortable work with DLL and DSO.
Fiber C++ 11
(C++11) Userland threads library.
Filesystem C++ 11
The Boost Filesystem Library provides portable facilities to query and manipulate paths, files, and directories.
Nowide C++ 11
Standard library functions with UTF-8 API on Windows.
Process C++ 11
Library to create processes in a portable way.
Stacktrace C++ 11
Gather, store, copy and print backtraces.
System C++ 11
Extensible error reporting.
Thread C++ 11
Portable C++ multi-threading. C++11, C++14, C++17.
Workarounds
Compatibility C++ 03
Help for non-conforming standard libraries.
Config C++ 03
Helps Boost library developers adapt to compiler idiosyncrasies; not intended for library users.