Back to Basics: Move Semantics - Nicolai Josuttis - CppCon 2021

Back to Basics: Move Semantics - Nicolai Josuttis - CppCon 2021

CppCon

2 года назад

73,309 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@deepaksree6
@deepaksree6 - 25.10.2023 14:26

good one, got the basics thanks

Ответить
@TheDoomista
@TheDoomista - 06.03.2023 14:23

"some" views not supporting iteration while const is a very nasty behaviour. More so since it is non-deterministic (at least at glance). Couldn't it be solved with mutable keyword? Recommending using auto&& so stuff works doesn't seem like the best idea as it is the first step to sacrifice const correctness.. :(

Otherwise - great talk! The more I delve into the move semantics the more they seem unfinished. The "valid but unspecified state" effectively means that unless your compiler supports use-after-move detection then you shouldn't ever move a named variable or else you risk shooting yourself in the foot. If that detection was default, then the compiler would move a lot of stuff automatically. This way, you're forced to optimize by hand a risk a bug.

Ответить
@FloBee10
@FloBee10 - 22.02.2023 07:40

Thank you for this talk.

Ответить
@JeremyCoppin
@JeremyCoppin - 23.01.2023 22:49

Brilliantly explained. Thank you Mr Josuttis.

Ответить
@GauravKumar-pu1eh
@GauravKumar-pu1eh - 21.01.2023 18:05

best explanation on move semantics

Ответить
@ivancheburan2209
@ivancheburan2209 - 14.12.2022 20:14

This is a perfect explanation what the move semantics is.

Ответить
@PixelPulse168
@PixelPulse168 - 12.12.2022 23:49

the best move semantics out there.

Ответить
@shailendrarajput6219
@shailendrarajput6219 - 02.12.2022 20:33

Thank you so much for deeply understanding of the move semantic and universal forwarding.

Ответить
@myth2732
@myth2732 - 24.11.2022 05:28

Great Talk!!!!!

Ответить
@sociocritical
@sociocritical - 03.10.2022 17:27

great talk as always

Ответить
@ttsoncs
@ttsoncs - 13.07.2022 20:55

Excellent talk

Ответить
@AA-em3lw
@AA-em3lw - 13.07.2022 08:01

Thank you so much for these amazing videos. I've borrowed Nicolai's book "The c++ Standard Library", You are so inspirational and give great examples, thank you Nicolai.

Ответить
@user-yn8ic4bw7q
@user-yn8ic4bw7q - 10.07.2022 11:57

how to get slide?

Ответить
@mohamedhashem1938
@mohamedhashem1938 - 05.07.2022 22:31

just amazing

Ответить
@Moriadin
@Moriadin - 29.06.2022 15:53

Excellent, clear talk and the best on the subject. thank you!

Ответить
@younghsiang2509
@younghsiang2509 - 22.06.2022 09:52

Great example! Thanks to this video, now I have better understanding on move semantics.

Ответить
@andrestone
@andrestone - 12.02.2022 12:25

The best talk ever on this topic.

Ответить
@MeeroSom
@MeeroSom - 30.01.2022 13:44

Thank you for making these videos, Mr Josuttis.

Ответить
@DiegoDagumSoftware
@DiegoDagumSoftware - 25.01.2022 20:56

Dear @CppCon, I would love to get the slide deck of this talk. Is sharing it a possibility?

Ответить
@MrHidefr
@MrHidefr - 17.01.2022 15:57

Thank you for explaining why std::forward exists, it makes it easy to understand what it does and when you have to use it.

Ответить
@buzzdx
@buzzdx - 14.01.2022 05:19

very nicely explained, thanks.

Ответить
@goregeway8287
@goregeway8287 - 06.01.2022 09:28

Well explained! Thx a lot!

Ответить
@pesto801
@pesto801 - 04.01.2022 14:39

Thank you for the nice talk! "Back to Basics" to the bone.
Why do destructors in derived classes destroy move semantics?

Ответить
@markbotner7878
@markbotner7878 - 01.01.2022 03:38

I wore the spine out of his 1st edition of "The C++ Standard Library". Thanks so much for that book, it very much helped me learn how to use the C++ standard library!

Ответить
@EvgeniiBalaukhin
@EvgeniiBalaukhin - 27.12.2021 22:35

🖖

Ответить
@sadiqueali930
@sadiqueali930 - 24.12.2021 15:32

Really informative

Ответить
@MaitreBart
@MaitreBart - 22.12.2021 22:53

Quite a complete summary that exposes most if not all the move semantic intricacies.

Ответить
@ohwow2074
@ohwow2074 - 22.12.2021 12:00

The last part about universal reference was very useful.

Ответить
@culturedgator
@culturedgator - 21.12.2021 10:36

Thank you for the talk! I am learning C++ as a novice and really enjoying these sessions!
Very clear, with specific examples to explain the context and the value of the concept. 5/5!

Ответить
@alexmomot6268
@alexmomot6268 - 21.12.2021 00:07

Thank you Nicolai for such informative and detailed explanation of move semantics.
It would be interesting to read your ne books as well. ;)

Ответить
@CallumPooleProgrammer
@CallumPooleProgrammer - 20.12.2021 20:03

Question:
It's not so nice having this T&& or auto&& for a universal reference since the type is vague.
Would it be possible to confine the type with concepts / requires T is MyClass somehow?

Also is there any plan to 'fix' forwarding in C++23?

Ответить
@akuskus
@akuskus - 20.12.2021 14:32

Very clear, concise and meticulous talk, much appreciated.

Ответить
@yevhenukrainianer4781
@yevhenukrainianer4781 - 20.12.2021 03:52

Brilliant explanation.

Ответить
@hellfirelordofevil
@hellfirelordofevil - 20.12.2021 02:14

A thoroughly excellent talk, this is by far the clearest and least confused explanation of C++ move semantics I have encountered. Bravo!

Ответить