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 an old version of boost. Click here for the latest version's documentation home page.
c++boost.gif (8819 bytes) Home Libraries People FAQ More

DEPRECATED: Compose library

This library is deprecated in favor of the Bind or Lambda libraries, and will be removed in a future release of Boost. The header compose.hpp provides compose function object adapter extensions for use with the Standard Template Library (STL) portion of the C++ Standard Library.  If you aren't currently using the STL, these compose adapters won't be of any interest, but hard-core STL users will appreciate their usefulness.

Comment on names

In preparing this library, Nico asked the boost mailing list for suggestions as to good names for these functions.  Jerry Schwarz suggested the compose_f_... function naming scheme, which was generally agreed to be an improvement over prior schemes.  There was also discussion of names representing the 0 argument concept, with nullary picked as the least of several evils.

Revised 14 March, 2001