Effective use of lambda expressions in the new C++11 standard

Grzegorz Nowakowski


In this paper, the possibility of lambda expressions and methods for their effective use in C++ code in the new C++11 standard have been presented. Studies that compare the execution times of the program and use lambda expressions as well as classical methods have been conducted. The results confirm the effectiveness of lambda expressions with respect to traditional methods.

Słowa kluczowe: lambda expressions, lambda – introducer, lambda – declarator, compound – statement, function object, STL, the new C++11 standard

Hankin Ch., Lambda Calculi. A Guide for Computer Scientists, Clarendon Press, 1994.

Urzyczyn P., Rachunek lambda, wykład monograficzny, (online) homepage: http:// www.mimuw.edu.pl/~urzy/Lambda/erlambda.pdf, (date of access: 2014-04-01).

Barendregt H., Dekkers W., Statman R., Lambda calculus with types, Cambridge University Press, 2013.

Barendregt H.P., Manzonetto G., Turing’s contributions to lambda calculus, 2013.

Microsoft Visual Studio Professional 2012, (online) homepage: http://www.microsoft.com/en-us/download/details.aspx?id=30682 (date of access: 2014-04-01).

GCC 4.6 Release Series, (online) homepage: http://gcc.gnu.org/gcc-4.6/ (date of access: 2014-04-01).

Siddhartha R., Sams Teach Yourself C++ in One Hour a Day (7th Edition), Pearson Education, 2012.

Prata S., C++ Primer Plus, Sixth Edition, Addison Wesley, 2011.

SDJ, (online) homepage: http://sdjournal.pl/magazine/1778-zarzadzanie-pamiecia-w-sun-jvm (date of access: 2014-04-01).

Lambda Expression Syntax, (online) homepage: http://msdn.microsoft.com/en-us/library/dd293603.aspx (date of access: 2014-04-01).

Stroustrup B., The C++ Programming Language, Addison Wesley, 2012.

Stroustrup B., (online) homepage: http://www.stroustrup.com/C++11FAQ.html (date of access: 2014-04-01).