Improvements for Maps and Sets

In the next few lessons, we will test the functionality of the new features introduced for maps and sets.

We'll cover the following

In the Standard there are two notable features for maps and sets:

  • Splicing Maps and Sets - P0083
  • New emplacement routines - N4279

Splicing

You can now move nodes from one tree-based container (maps/sets) into other ones, without additional memory overhead/allocation.

For example:

Get hands-on with 1200+ tech skills courses.