Cargando…

Modern C++: Demystifying Value Categories in C++ (lecture 1)

<!--HTML-->Value categories are omnipresent in today's C++ code bases. Since the advent of move semantics the field continuously becomes wider and knowing terms such as lvalue and rvalue only from compiler error messages is not enough anymore. I will present an overview about C++ value...

Descripción completa

Detalles Bibliográficos
Autor principal: Meinert, Nis
Lenguaje:eng
Publicado: 2020
Materias:
Acceso en línea:http://cds.cern.ch/record/2740329
_version_ 1780968324887216128
author Meinert, Nis
author_facet Meinert, Nis
author_sort Meinert, Nis
collection CERN
description <!--HTML-->Value categories are omnipresent in today's C++ code bases. Since the advent of move semantics the field continuously becomes wider and knowing terms such as lvalue and rvalue only from compiler error messages is not enough anymore. I will present an overview about C++ value categories and decay rules, the subtle difference between pointers and references, explain why neither std::move moves, nor std::forward forward values and talk about implication on related topics such as RVO.
id cern-2740329
institution Organización Europea para la Investigación Nuclear
language eng
publishDate 2020
record_format invenio
spelling cern-27403292022-11-02T22:36:24Zhttp://cds.cern.ch/record/2740329engMeinert, NisModern C++: Demystifying Value Categories in C++ (lecture 1)Inverted CERN School of Computing 2020Inverted CSC<!--HTML-->Value categories are omnipresent in today's C++ code bases. Since the advent of move semantics the field continuously becomes wider and knowing terms such as lvalue and rvalue only from compiler error messages is not enough anymore. I will present an overview about C++ value categories and decay rules, the subtle difference between pointers and references, explain why neither std::move moves, nor std::forward forward values and talk about implication on related topics such as RVO.oai:cds.cern.ch:27403292020
spellingShingle Inverted CSC
Meinert, Nis
Modern C++: Demystifying Value Categories in C++ (lecture 1)
title Modern C++: Demystifying Value Categories in C++ (lecture 1)
title_full Modern C++: Demystifying Value Categories in C++ (lecture 1)
title_fullStr Modern C++: Demystifying Value Categories in C++ (lecture 1)
title_full_unstemmed Modern C++: Demystifying Value Categories in C++ (lecture 1)
title_short Modern C++: Demystifying Value Categories in C++ (lecture 1)
title_sort modern c++: demystifying value categories in c++ (lecture 1)
topic Inverted CSC
url http://cds.cern.ch/record/2740329
work_keys_str_mv AT meinertnis moderncdemystifyingvaluecategoriesinclecture1
AT meinertnis invertedcernschoolofcomputing2020