Anders Schau Knatten: lvalues, rvalues, glvalues, prvalues, xvalues, help!

Поділитися
Вставка
  • Опубліковано 18 жов 2024
  • C++11 introduced three new value categories, and renamed one of the existing ones. I'll go over all of them and demonstrate how it's not as complicated as it might look.

КОМЕНТАРІ • 5

  • @sirmewo5510
    @sirmewo5510 16 днів тому

    simple and beautiful

  • @tau9285
    @tau9285 Рік тому +6

    Thank you for uploading this! It is slightly outdated tho, value categories were again changed in C++17-you can not longer move from prvalues, for example.

  • @mrshodz
    @mrshodz 4 місяці тому +2

    Best explanation I have heard of !

  • @DanielPinchuk
    @DanielPinchuk 5 місяців тому

    Awesome explanation!

  • @davidz037
    @davidz037 4 місяці тому +2

    That giggle/laughter at 1:59 makes the video worth watching, even besides the awesome explanation :D