12

Manipulation and Transformation

This chapter discusses data manipulation techniques provided by the C++ Standard Template Library (STL). These techniques of manipulating data structures, whether copying, generating new data, removing outdated entries, or performing advanced operations such as swapping or reversing, form a significant part of most applications. This chapter will expose you to many methods and nuances, allowing you to choose the right tool for your tasks. Accompanied by best practices, this chapter ensures you understand and apply these techniques efficiently.

This chapter will cover the following main topics:

  • Copying and moving in STL containers
  • Exploring return value optimization
  • Filling and generating in STL containers ...

Get Data Structures and Algorithms with the C++ STL now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.