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

Boost Library Documentation - Function objects and higher-order programming

Sort by:

Function objects and higher-order programming

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
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
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
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
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
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
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
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
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
11
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
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/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
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
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
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
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
Lambda2

A C++14 lambda library.

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