Copy Constructor and Copy Assignment Operator (Lecture 26)

Поділитися
Вставка
  • Опубліковано 14 гру 2024

КОМЕНТАРІ • 5

  • @prashantshinde5083
    @prashantshinde5083 5 років тому +6

    Best course on C++ so far

  • @satyampatidar5848
    @satyampatidar5848 4 роки тому +3

    sharlock holmes like mind after in this concept

    • @Raj-rd8qo
      @Raj-rd8qo 4 роки тому +1

      just scrolled down to look if someone has commented about this.

  • @engrvivs
    @engrvivs 5 років тому

    Dear Sir,
    at 24:32 in the Copy constructor, may you please clarify how the private members of the Complex object c (i.e., c.re_ and c.im_) can be directly accessed? I mean aren't the private members only accessible through methods. Here, I understand that 'c' is a different object, although of the same Complex class type.
    Thanks in Advance!

  • @bhaskart488
    @bhaskart488 3 роки тому

    🔥