The Lambda Library:: unnamed functions in C++

被引:11
|
作者
Järvi, J [1 ]
Powell, G [1 ]
Lumsdaine, A [1 ]
机构
[1] Indiana Univ, Pervas Technol Labs, Bloomington, IN 47405 USA
来源
SOFTWARE-PRACTICE & EXPERIENCE | 2003年 / 33卷 / 03期
关键词
C plus; generic programming; functional programming;
D O I
10.1002/spe.504
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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. Copyright (C) 2003 John Wiley Sons, Ltd.
引用
收藏
页码:259 / 291
页数:33
相关论文
共 50 条