+
Point of view
All features
class WEAK_REFERENCE [G_]
Summary
Weak reference to some object of type G_. This kind of reference does not prevent the object of type G_ from being reclaimed by the garbage collector (in which case item returns Void). Item makes it possible to get (a strong reference to) the object. Inheriting from this class is prohibited.
Notes: when using the "-no_gc" option (i.e. no garbage collector), the behavior of WEAK_REFERENCE is equivalent to the behavior of REFERENCE.
Direct parents
Inherit list: ANY_REFERENCE
Overview
Creation features
{ANY}
  • set_item (i: G_) assign item
    Set the object to be weak referenced
Features
{ANY}
  • item: G_
    Return a (strong) reference to the object
  • set_item (i: G_) assign item
    Set the object to be weak referenced
item: G_
{ANY}
Return a (strong) reference to the object
set_item (i: G_) assign item
{ANY}
Set the object to be weak referenced