v8
9.0.257(node16.0.0)
V8 is Google's open source JavaScript engine
|
#include <ephemeron-pair.h>
Public Member Functions | |
EphemeronPair (K *k, V *v) | |
void | ClearValueIfKeyIsDead (const LivenessBroker &broker) |
Data Fields | |
WeakMember< K > | key |
Member< V > | value |
An ephemeron pair is used to conditionally retain an object. The value
will be kept alive only if the key
is alive.
Definition at line 18 of file ephemeron-pair.h.
|
inline |
Definition at line 19 of file ephemeron-pair.h.
References EphemeronPair< K, V >::key, and EphemeronPair< K, V >::value.
|
inline |
Definition at line 23 of file ephemeron-pair.h.
References EphemeronPair< K, V >::key, and EphemeronPair< K, V >::value.
WeakMember<K> key |
Definition at line 20 of file ephemeron-pair.h.
Referenced by EphemeronPair< K, V >::ClearValueIfKeyIsDead(), and EphemeronPair< K, V >::EphemeronPair().
Definition at line 21 of file ephemeron-pair.h.
Referenced by EphemeronPair< K, V >::ClearValueIfKeyIsDead(), and EphemeronPair< K, V >::EphemeronPair().