DEPRECATED: Boost Compose Library

| 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.

- Documentation (HTML).
- Header compose.hpp. May also view as an HTML file.
- See the documentation for links to sample programs.
- Header print.hpp used by sample programs. May also view as an HTML file.
- Submitted by Nicolai Josuttis.

### 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