Key Takeaways

Get a recap of all the concepts learned in this chapter.

In this chapter, we discussed const rvalue references. Even if they don’t make much sense at first glance, they can be very useful. We learned the following:

  • rvalue references are generally used with move semantics, which implies modifying the referred object, but rvalues might have a good semantic meaning in some rare cases.

  • const rvalue references can be effectively used with =delete to prohibit rvalue references.

Get hands-on with 1200+ tech skills courses.