Einzelnen Beitrag anzeigen

Benutzerbild von DP News-Robot
DP News-Robot

Registriert seit: 4. Jun 2010
15.788 Beiträge
 
#1

Patterns for constructing reference-counted objects: Factory functions vs `as` operat

  Alt Heute, 09:40
The construction of reference-counted object instances, which have automatic memory management, is a recurring topic. The main problem with such instances is that they need to be assigned to an interface reference (explicit or implicit) to have a properly initialized reference counting mechanism and a properly managed lifetime. There are many different coding patterns and scenarios around the

Weiterlesen...
  Mit Zitat antworten Zitat