5. Copy Assignment Operator Overloading C++

5. Copy Assignment Operator Overloading C++

CSExplained

3 года назад

6,700 Просмотров

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


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

@csexplained4639
@csexplained4639 - 04.06.2021 19:52

If you have any questions, please put them here. I'd be happy to answer them.

Ответить
@nmuralimohan4377
@nmuralimohan4377 - 25.07.2021 16:50

Very clear explanation!

Ответить
@Impromptu21
@Impromptu21 - 22.08.2021 10:18

thanq bhava

Ответить
@The_Programming-Teacher
@The_Programming-Teacher - 02.09.2021 07:33

your explain is very simple , thank you

Ответить
@yogendragangwar9795
@yogendragangwar9795 - 01.10.2021 00:01

A very nice explanation .. :)

Ответить
@charlesfleetwood3914
@charlesfleetwood3914 - 19.10.2021 22:59

Your videos are the best I have come across on C++ you take the time to thoroughly explain what is going on and why.

Ответить
@youssefgbb
@youssefgbb - 13.11.2021 21:55

Thanks a lot, I have a question, why do we use return by reference in the operator =, I know if we are returning with value (a = b) = c does not work (not compiler error,) value of b will assignment in a but value of c does not assignment to a,why does it not work,Can you explain to me in depth what exactly is going on.

Ответить
@zx5939
@zx5939 - 15.02.2022 03:59

Great explanations! Thank you

Ответить
@michaelatorn8380
@michaelatorn8380 - 10.03.2022 15:50

Amazing tutorial!
Most reference pages and tutorials lack the graphics for understanding the underlying memory concepts.
Thank you.

Ответить
@dodosoni7705
@dodosoni7705 - 30.03.2022 18:45

Superb explanation!!! Hats off to u sir 🎩

Ответить
@420thlegioner8
@420thlegioner8 - 26.05.2022 00:04

Such a detailed explanation, really good job.

Ответить
@BlockchainBob
@BlockchainBob - 21.06.2022 04:36

great visuals and explanation!

Ответить
@Mohamed_bhr66
@Mohamed_bhr66 - 08.09.2022 17:54

very helpful, thanks for the effort.

Ответить
@srikanth595
@srikanth595 - 20.10.2022 10:38

Nice video, going up from basic to the intricate parts of the feature.

Ответить
@srikanth595
@srikanth595 - 20.10.2022 10:42

Though this (using references) seems to be a standard way of returning a value efficient ly, how does c++ handles the reference when it is assigned to an object because we are assigning a reference to an object - not to a reference object.

Ответить
@mocha3310
@mocha3310 - 11.11.2022 05:26

thank you for the help. idk why but this video clicked so well with me.

Ответить
@heartsonny
@heartsonny - 13.11.2022 18:03

Hello sir, I have two questions. Do we have to use "this" inside the operator= function? Can't we omit it and say, size=rhs.size instead?
Also in my textbook, the Vector& operator= function is written as : const Vector& operator= . What is the use of const there and why?
Thanks for the video by the way. Great explanation :) Best wishes

Ответить
@slowcoding
@slowcoding - 26.01.2023 04:10

Super useful to understand the concept. The diagram is really helpful to grab how the memory is managed. Thank a lot.

Ответить
@Naruto-hb9cg
@Naruto-hb9cg - 30.01.2023 18:27

your explanation is the best , is very clear tnx sir

Ответить
@zacharygammo7269
@zacharygammo7269 - 21.02.2023 04:22

Amazing video, this finally just made it simpler than I ever though ti was

Ответить
@creationpower333
@creationpower333 - 07.04.2023 21:07

Thank you for helping us!

Ответить