A collection of useful generic algorithms.
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.
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 the Standard Template Library (STL).
Fast multi-dimensional histogram with convenient interface for C++14
Standard library extensions for simultaneous min/max and min/max element computations.
Voronoi diagram construction and booleans/clipping, resizing/offsetting and more for planar polygons with integral coordinates.
Generic {CPP} library for working with Quaternions Vectors and Matrices.
A new infrastructure for generic algorithms that builds on top of the new iterator concepts.
High-performance templated sort functions.
String algorithms library.
Portable networking and other low-level I/O, including sockets, timers, hostname resolution, socket iostreams, serial ports, file descriptors and Windows HANDLEs.
C++11-style atomic<>.
Portable HTTP, WebSocket, and network operations using only C++11 and Boost.Asio
Parallel/GPU-computing library
(C++11) Context switching library.
Coroutine library.
(C++11) Coroutine library.
(C++11) Userland threads library.
Shared memory, memory mapped files, process-shared mutexes, condition variables, containers and allocators.
Lockfree data structures.
Message Passing Interface library, for use in distributed-memory parallel application programming.
Portable C++ multi-threading. C++03, C++11, C++14, C++17.
STL compliant container wrapper for arrays of constant size.
Bidirectional maps library for C++. With Boost.Bimap you can create associative containers in which both types can be used as key.
A STL compliant container also known as ring or cyclic buffer.
Standard library containers and extensions.
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 the Standard Template Library (STL).
Interval Container Library, interval sets and maps and aggregation of associated values
Intrusive containers and algorithms.
Boost.MultiArray provides a generic N-dimensional array concept definition and common implementations of that interface.
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.
Containers for storing heap-allocated polymorphic objects to ease OO-programming.
Fast containers of polymorphic objects.
Concepts defining interfaces which map key objects to value objects.
A tree data structure especially suited to storing configuration data.
Unordered associative containers.
Safe, generic, stack-based discriminated union container.
A never-valueless, strong guarantee implementation of std::variant.
Customizable assert macros.
Tools for generic programming.
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.
Guaranteed Correct Integer Arithmetic
Gather, store, copy and print backtraces.
Static assertions (compile time assertions).
Support for simple program testing, full unit testing, and for program execution monitoring.
Safe, generic container for single values of different value types.
Bidirectional maps library for C++. With Boost.Bimap you can create associative containers in which both types can be used as key.
Empty member optimization.
Standard library containers and extensions.
Library for working with tuples, including various containers, algorithms, etc.
The Boost.Geometry library provides geometric algorithms, primitives and spatial index.
Priority queue data structures.
Fast multi-dimensional histogram with convenient interface for C++14
Interval Container Library, interval sets and maps and aggregation of associated values
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.
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.
Containers for storing heap-allocated polymorphic objects to ease OO-programming.
Voronoi diagram construction and booleans/clipping, resizing/offsetting and more for planar polygons with integral coordinates.
A tree data structure especially suited to storing configuration data.
Ease definition of functions returning multiple values, and more.
Runtime polymorphism based on concepts.
A universally unique identifier.
Safe, generic, stack-based discriminated union container.
A never-valueless, strong guarantee implementation of std::variant.
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.
Useful time utilities. 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.
A set of date-time libraries based on generic programming concepts.
Zero-overhead dimensional analysis and unit/quantity manipulation and conversion.
A universally unique identifier.
The Boost Exception library supports transporting of arbitrary data in exception objects, and transporting of exceptions between threads.
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.
Portable move semantics for C++03 and C++11 compilers.
A deterministic failure handling library partially simulating lightweight exceptions.
Boost.Parameter Library - Write functions that accept arguments by name.
Boost.Parameter Library Python bindings.
Execute arbitrary code at scope exit.
A common infrastructure for throwing exceptions from Boost libraries.
Runtime/Compile time copyable type info.
Typeof operator emulation.
Customizable assert macros.
The Boost Exception library supports transporting of arbitrary data in exception objects, and transporting of exceptions between threads.
Operating system support, including the diagnostics support that will be part of the C++0x standard library.
A common infrastructure for throwing exceptions from Boost libraries.
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.
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.
Higher-order functions for C++
Define small unnamed function objects at the actual call site, and more.
Program functions locally, within other functions, directly within the scope where they are needed.
Generalized binders for function/object/pointers and member functions.
Define small unnamed function objects at the actual call site, and more.
A utility library for passing references to generic functions.
Determines the type of a function call expression.
Managed signals & slots callback implementation (thread-safe version 2).
Defines types for passing parameters.
Tools for generic programming.
Selective inclusion of function template overloads.
Boost.FunctionTypes provides functionality to classify, decompose and synthesize function, function pointer, function reference and pointer to member types.
Generic Image Library
Generic in-place construction of contained objects with a variadic argument-list.
Templates ease arithmetic classes and iterators.
Concepts defining interfaces which map key objects to value objects.
Generic {CPP} library for working with Quaternions Vectors and Matrices.
Static assertions (compile time assertions).
Type Traits Introspection library.
Templates for fundamental properties of types.
An expression template library for C++14 and later.
Generic Image Library
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.
Portable networking and other low-level I/O, including sockets, timers, hostname resolution, socket iostreams, serial ports, file descriptors and Windows HANDLEs.
Filling containers with constant or generated data has never been easier.
Portable HTTP, WebSocket, and network operations using only C++11 and Boost.Asio
Types and conversion functions for correct byte ordering and more regardless of processor endianness.
The format library provides a type-safe mechanism for formatting arguments according to a printf-like format-string.
The I/O sub-library of Boost helps segregate the large number of Boost headers. This sub-library should contain various items to use with/for the standard I/O library.
Boost.IOStreams provides a framework for defining streams, stream buffers and i/o filters.
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.
Serialization for persistence and marshalling.
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 the Standard Template Library (STL).
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.
Templates ease arithmetic classes and iterators.
Break of a string or other character sequence into a series of tokens.
Framework for incremental calculation, and collection of statistical accumulators.
Types and conversion functions for correct byte ordering and more regardless of processor endianness.
The Boost.Geometry library provides geometric algorithms, primitives and spatial index.
Fast multi-dimensional histogram with convenient interface for C++14
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.
Extends the usual arithmetic functions to mathematical intervals.
Boost.Math includes several contributions in the domain of mathematics: The Greatest Common Divisor and Least Common Multiple library provides run-time and compile-time evaluation of the greatest common divisor (GCD) or least common multiple (LCM) of two integers. The Special Functions library currently provides eight templated special functions, in namespace boost. The Complex Number Inverse Trigonometric Functions are the inverses of trigonometric functions currently present in the C++ standard. Quaternions are a relative of complex numbers often used to parameterise rotations in three dimentional space. Octonions, like quaternions, are a relative of complex numbers.
Boost.MultiArray provides a generic N-dimensional array concept definition and common implementations of that interface.
Extended precision arithmetic types for floating point, integer andrational arithmetic.
Optimized Policy-based Numeric Conversions.
Solving ordinary differential equations.
Templates ease arithmetic classes and iterators.
Voronoi diagram construction and booleans/clipping, resizing/offsetting and more for planar polygons with integral coordinates.
Generic {CPP} library for working with Quaternions Vectors and Matrices.
A complete system for random number generation.
Compile time rational arithmetic. C++11.
A rational number class.
Guaranteed Correct Integer Arithmetic
uBLAS provides tensor, matrix, and vector classes as well as basic linear algebra routines. Several dense, packed and sparse storage schemes are supported.
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.
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.
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.
Higher-order functions for C++
A library for generating compile time parsers parsing embedded DSL code as part of the C++ compilation process
A C++11 metaprogramming library.
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.
Expression template library and compiler construction toolkit for domain-specific embedded languages.
Static assertions (compile time assertions).
Type Traits Introspection library.
Templates for fundamental properties of types.
An expression template library for C++14 and later.
Polymorphic casts.
An extendible and configurable type-conversion framework.
A collection of simple core utilities with minimal dependencies.
This library contains a set of header only utilities used internally by Boost C++ Libraries to facilitate their implementation.
Types and conversion functions for correct byte ordering and more regardless of processor endianness.
General literal text conversions, such as an int represented a string, or vice-versa.
Logging library.
Optimized Policy-based Numeric Conversions.
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.
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.
Enhanced generic swap function.
Event timer, progress timer, and progress display classes.
3-state boolean type library.
Class noncopyable plus checked_delete(), checked_array_delete(), next(), prior() function templates, plus base-from-member idiom.
Wrapper for uniform-syntax value initialization, based on the original idea of David Abrahams.
Windows API abstraction layer.
LL parser framework represents parsers directly as EBNF grammars in inlined C++.
Empty member optimization.
Design pattern to manage large quantities of highly redundant objects.
A deterministic failure handling library partially simulating lightweight exceptions.
Managed signals & slots callback implementation (thread-safe version 2).
Class noncopyable plus checked_delete(), checked_array_delete(), next(), prior() function templates, plus base-from-member idiom.
Wrap types within round parenthesis so they can always be passed as macro parameters.
Preprocessor metaprogramming tools including repetition and recursion.
Variadic Macro Data library.
Function object wrappers for deferred calls or callbacks.
A deterministic failure handling library partially simulating lightweight exceptions.
Boost.Parameter Library - Write functions that accept arguments by name.
Boost.Parameter Library Python bindings.
Operating system support, including the diagnostics support that will be part of the C++0x standard library.
A very high-performance library for expressive UML2 finite state machines.
Boost.Statechart - Arbitrarily complex finite state machines can be implemented in easily readable and maintainable C++ code.
An extendible and configurable type-conversion framework.
The format library provides a type-safe mechanism for formatting arguments according to a printf-like format-string.
Boost.IOStreams provides a framework for defining streams, stream buffers and i/o filters.
General literal text conversions, such as an int represented a string, or vice-versa.
Provide localization and Unicode handling tools for C++.
Regular expression library.
LL parser framework represents parsers directly as EBNF grammars in inlined C++.
String algorithms library.
Break of a string or other character sequence into a series of tokens.
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.
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.
Useful time utilities. C++11.
(C++11) Context switching library.
A set of date-time libraries based on generic programming concepts.
Library for comfortable work with DLL and DSO.
(C++11) Userland threads library.
The Boost Filesystem Library provides portable facilities to query and manipulate paths, files, and directories.
Library to create processes in a portable way.
Gather, store, copy and print backtraces.
Operating system support, including the diagnostics support that will be part of the C++0x standard library.
Portable C++ multi-threading. C++03, C++11, C++14, C++17.
Help for non-conforming standard libraries.
Helps Boost library developers adapt to compiler idiosyncrasies; not intended for library users.
No libraries match your search.
Try a shorter keyword, or check the spelling.