Abstract
This chapter complements and completes several key topics discussed in the middle parts of the book.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsNotes
- 1.
The C++ standard actually defines three additional expression categories with the names glvalue, prvalue, and xvalue. Formally, lvalue and rvalue are then defined in terms of these. But trust us, you really do not need to know all these gory details. Our brief, more informal discussion here will serve you just fine!
- 2.
Technically, std::move() is defined in the <utility> header. In practice, though, you’ll rarely have to explicitly include this header to make use of std::move().
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2018 Ivor Horton and Peter Van Weert
About this chapter
Cite this chapter
Horton, I., Van Weert, P. (2018). Move Semantics. In: Beginning C++17. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-3366-5_17
Download citation
DOI: https://doi.org/10.1007/978-1-4842-3366-5_17
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-3365-8
Online ISBN: 978-1-4842-3366-5
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books