The Lambda Library: unnamed functions in C++
Autor: | Andrew Lumsdaine, Jaakko Järvi, Gary Powell |
---|---|
Rok vydání: | 2003 |
Předmět: |
Policy-based design
Functional programming C mathematical functions Generic programming Compatibility of C and C++ Programming language Computer science typedef computer.software_genre Lambda const Template stdarg.h Preprocessor C++ Standard Library decltype Standard Template Library computer Software |
Zdroj: | Software: Practice and Experience. 33:259-291 |
ISSN: | 0038-0644 |
DOI: | 10.1002/spe.504 |
Popis: | The Lambda Library (LL) adds a form of lambda functions to C++, which are common in functional programming languages. The LL is implemented as a template library using standard C++; thus no language extensions or preprocessing is required. The LL consists of a rich set of tools for defining unnamed functions. In particular these unnamed functions work seamlessly with the generic algorithms in the C++ Standard Library. The LL offers significant improvements, in terms of generality and ease of use, compared to the current tools in the C++ Standard Library. |
Databáze: | OpenAIRE |
Externí odkaz: |