Re: pointer check in unit tests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04.11.2020 13:51, Stephan Bergmann wrote:
That a reference is something completely different than a pointer shows e.g. in the rule that if a class has an implicit copy constructor and a non-static data member of reference type, then the copy constructor is defined as deleted (while there is no such rule if the data member is of pointer type).

I always had an impression that this is an obvious consequence of the special initialization semantics of the references?


--
Best regards,
Mike Kaganski
_______________________________________________
LibreOffice mailing list
LibreOffice@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/libreoffice



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux