![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <visitor.h>
Public Member Functions | |
CPPGC_DISALLOW_NEW () | |
EphemeronPair (K *k, V *v) | |
void | ClearValueIfKeyIsDead (const LivenessBroker &broker) |
void | Trace (Visitor *visitor) const |
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 |
cppgc::EphemeronPair< K, V >::CPPGC_DISALLOW_NEW | ( | ) |
void cppgc::EphemeronPair< K, V >::Trace | ( | Visitor * | visitor | ) | const |
WeakMember<K> cppgc::EphemeronPair< K, V >::key |