template<typename K, typename V, typename Traits>
class v8::PersistentValueMapBase< K, V, Traits >
A map wrapper that allows using Global as a mapped value. C++11 embedders don't need this class, as they can use Global directly in std containers.
The map relies on a backing map, whose type and accessors are described by the Traits class. The backing map will handle values of type PersistentContainerValue, with all conversion into and out of V8 handles being transparently handled by this class.
Definition at line 160 of file v8-util.h.
template<typename K , typename V , typename Traits >
Get a reference to a map value. This enables fast, repeated access to a value stored in the map while the map remains unchanged.
Careful: This is potentially unsafe, so please use with care. The value will become invalid if the value for this key changes in the underlying map, as a result of Set or Remove for the same key; as a result of the weak callback for the same key; or as a result of calling Clear() or destruction of the map.
Definition at line 285 of file v8-util.h.