Cargando…

Modern C++: Everything you (n)ever wanted to know about C++'s Lambdas (demo)

<!--HTML-->From a syntactical point of view, the Lambda expression of C++ is nothing but syntactic sugar of a struct with an appropriate call operator overload. On the other hand, this simple syntax is shockingly flexible and allows powerful abstractions in a functional way, while providing el...

Descripción completa

Detalles Bibliográficos
Autor principal: Meinert, Nis
Lenguaje:eng
Publicado: 2020
Materias:
Acceso en línea:http://cds.cern.ch/record/2737349
_version_ 1780967723201724416
author Meinert, Nis
author_facet Meinert, Nis
author_sort Meinert, Nis
collection CERN
description <!--HTML-->From a syntactical point of view, the Lambda expression of C++ is nothing but syntactic sugar of a struct with an appropriate call operator overload. On the other hand, this simple syntax is shockingly flexible and allows powerful abstractions in a functional way, while providing elegant and easy to read code in a language that is notoriously famous for being unnecessary clunky and verbose. I will give an overview about the basic syntax and best practices. I will then talk about stateful Lambdas, Lambda inheritance and their real-world applications.
id cern-2737349
institution Organización Europea para la Investigación Nuclear
language eng
publishDate 2020
record_format invenio
spelling cern-27373492022-11-02T22:36:24Zhttp://cds.cern.ch/record/2737349engMeinert, NisModern C++: Everything you (n)ever wanted to know about C++'s Lambdas (demo)Inverted CERN School of Computing 2020Inverted CSC<!--HTML-->From a syntactical point of view, the Lambda expression of C++ is nothing but syntactic sugar of a struct with an appropriate call operator overload. On the other hand, this simple syntax is shockingly flexible and allows powerful abstractions in a functional way, while providing elegant and easy to read code in a language that is notoriously famous for being unnecessary clunky and verbose. I will give an overview about the basic syntax and best practices. I will then talk about stateful Lambdas, Lambda inheritance and their real-world applications.oai:cds.cern.ch:27373492020
spellingShingle Inverted CSC
Meinert, Nis
Modern C++: Everything you (n)ever wanted to know about C++'s Lambdas (demo)
title Modern C++: Everything you (n)ever wanted to know about C++'s Lambdas (demo)
title_full Modern C++: Everything you (n)ever wanted to know about C++'s Lambdas (demo)
title_fullStr Modern C++: Everything you (n)ever wanted to know about C++'s Lambdas (demo)
title_full_unstemmed Modern C++: Everything you (n)ever wanted to know about C++'s Lambdas (demo)
title_short Modern C++: Everything you (n)ever wanted to know about C++'s Lambdas (demo)
title_sort modern c++: everything you (n)ever wanted to know about c++'s lambdas (demo)
topic Inverted CSC
url http://cds.cern.ch/record/2737349
work_keys_str_mv AT meinertnis modernceverythingyouneverwantedtoknowaboutcslambdasdemo
AT meinertnis invertedcernschoolofcomputing2020