Copy Constructor and Copy Assignment Operator (Lecture 26)

Поделиться
HTML-код
  • Опубликовано: 29 окт 2024

Комментарии • 5

  • @prashantshinde5083
    @prashantshinde5083 4 года назад +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.

  • @shaasvatbharat
    @shaasvatbharat 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 года назад

    🔥