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.79.0 Library Documentation - Function objects and higher-order programming

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.

Author(s)
Peter Dimov
First Release
1.25.0
C++ Standard Minimum Level
03
Categories
Function objects and higher-order programming
Container Hash

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

Author(s)
Daniel James
First Release
1.33.0
C++ Standard Minimum Level
03
Categories
Function objects and higher-order programming
Container Hash

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

Author(s)
Daniel James
First Release
1.33.0
Categories
Function objects and higher-order programming
Function

Function object wrappers for deferred calls or callbacks.

Author(s)
Doug Gregor
First Release
1.23.0
C++ Standard Minimum Level
03
Categories
Function objects and higher-order programming, Programming Interfaces
Functional

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

Author(s)
Mark Rodgers
First Release
1.16.0
C++ Standard Minimum Level
03
Categories
Function objects and higher-order programming
Functional/Factory

Function object templates for dynamic and static object creation

Author(s)
Glen Fernandes and Tobias Schwinger
First Release
1.43.0
C++ Standard Minimum Level
03
Categories
Function objects and higher-order programming
Functional/Forward

Adapters to allow generic function objects to accept arbitrary arguments

Author(s)
Tobias Schwinger
First Release
1.43.0
C++ Standard Minimum Level
03
Categories
Function objects and higher-order programming
Functional/Overloaded Function

Overload different functions into a single function object.

Author(s)
Lorenzo Caminiti
First Release
1.50.0
C++ Standard Minimum Level
03
Categories
Function objects and higher-order programming
HOF

Higher-order functions for C++

Author(s)
Paul Fultz II
First Release
1.67.0
C++ Standard Minimum Level
11
Categories
Function objects and higher-order programming, Template Metaprogramming
Lambda

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

Author(s)
Jaakko Järvi and Gary Powell
First Release
1.28.0
C++ Standard Minimum Level
03
Categories
Function objects and higher-order programming
Lambda2

A C++14 lambda library.

Author(s)
Peter Dimov
First Release
1.77.0
Categories
Function objects and higher-order programming
Local Function

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

Author(s)
Lorenzo Caminiti
First Release
1.50.0
Categories
Function objects and higher-order programming
Member Function

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

Author(s)
Peter Dimov
First Release
1.25.0
C++ Standard Minimum Level
03
Categories
Function objects and higher-order programming
Phoenix

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

Author(s)
Joel de Guzman, Dan Marsden, Thomas Heller and John Fletcher
First Release
1.47.0
C++ Standard Minimum Level
03
Categories
Function objects and higher-order programming
Ref

A utility library for passing references to generic functions.

Author(s)
Jaako Järvi, Peter Dimov, Doug Gregor and Dave Abrahams
First Release
1.25.0
C++ Standard Minimum Level
03
Categories
Function objects and higher-order programming
Result Of

Determines the type of a function call expression.

Author(s)
 
First Release
1.32.0
C++ Standard Minimum Level
03
Categories
Function objects and higher-order programming
Signals2

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

Author(s)
Frank Mori Hess
First Release
1.39.0
C++ Standard Minimum Level
03
Categories
Function objects and higher-order programming, Patterns and Idioms
Utility

Class noncopyable plus checked_delete(), checked_array_delete(), next(), prior() function templates, plus base-from-member idiom.

Author(s)
Dave Abrahams and others
First Release
1.13.0
C++ Standard Minimum Level
03
Categories
Algorithms, Function objects and higher-order programming, Memory, Miscellaneous, Patterns and Idioms