Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.

Boost 1.60.0 Library Documentation

By Category

String and text processing

  • Regex: Regular expression library.

Containers

  • Array: STL compliant container wrapper for arrays of constant size.
  • Unordered: Unordered associative containers.

Function objects and higher-order programming

  • Bind: 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: Function object wrappers for deferred calls or callbacks.
  • Functional/Hash: A TR1 hash function object that can be extended to hash user defined types.
  • Member Function: Generalized binders for function/object/pointers and member functions.
  • Ref: A utility library for passing references to generic functions.

Generic Programming

  • Type Traits: Templates for fundamental properties of types.

Template Metaprogramming

  • Type Traits: Templates for fundamental properties of types.

Math and numerics

  • Random: A complete system for random number generation.

Data structures

  • Tuple: Ease definition of functions returning multiple values, and more.

Memory

Programming Interfaces

  • Function: Function object wrappers for deferred calls or callbacks.

Miscellaneous

  • TR1 (deprecated): The TR1 library provides an implementation of the C++ Technical Report on Standard Library Extensions. This library does not itself implement the TR1 components, rather it's a thin wrapper that will include your standard library's TR1 implementation (if it has one), otherwise it will include the Boost Library equivalents, and import them into namespace std::tr1.