MENU

Fun & Interesting

lvalue, rvalue, lvalue references and an intro to rvalue references | Modern Cpp Series Ep. 31

Mike Shah 19,643 lượt xem 3 years ago
Video Not Working? Fix It Now

►Full C++ Series Playlist: https://www.youtube.com/playlist?list=PLvv0ScY6vfd8j-tlhYVPYgiIyXduu6m-L
►Find full courses on: https://courses.mshah.io/
►Join as Member to Support the channel: https://www.youtube.com/channel/UCA64pZbN5Mz5NxC3SO4qpDg/join

►Lesson Description: In this lesson I am going to talk about something that is not so much a 'language feature' but rather something that is part of the semantics of modern C++. At the least, you should leave this lesson understanding what an 'lvalue' and 'rvalue' error means from your compiler. We'll also talk a bit about lvalue references (which you already know as int&), and then briefly introduce rvalue references. rvalue references will be further motivated, and we'll start to look at why they may be useful for performance in a later video.

►YouTube Channel: https://www.youtube.com/c/MikeShah
►Please like and subscribe to help the channel!

Comment