pointer check in unit tests

Mike Kaganski mikekaganski at hotmail.com
Wed Nov 4 11:06:10 UTC 2020


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


More information about the LibreOffice mailing list