#include <ephemeron-pair.h>
Public Member Functions | |
EphemeronPair (K *k, V *v) | |
void | ClearValueIfKeyIsDead (const LivenessBroker &broker) |
Public Attributes | |
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.
|
inline |
|
inline |
WeakMember<K> cppgc::EphemeronPair< K, V >::key |
Member<V> cppgc::EphemeronPair< K, V >::value |