![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <v8-util.h>
Public Types | |
| typedef std::map< K, PersistentContainerValue > | Impl |
| typedef Impl::iterator | Iterator |
Static Public Member Functions | |
| static bool | Empty (Impl *impl) |
| static size_t | Size (Impl *impl) |
| static void | Swap (Impl &a, Impl &b) |
| static Iterator | Begin (Impl *impl) |
| static Iterator | End (Impl *impl) |
| static K | Key (Iterator it) |
| static PersistentContainerValue | Value (Iterator it) |
| static PersistentContainerValue | Set (Impl *impl, K key, PersistentContainerValue value) |
| static PersistentContainerValue | Get (Impl *impl, K key) |
| static PersistentContainerValue | Remove (Impl *impl, K key) |
A default trait implementation for PersistentValueMap which uses std::map as a backing map.
Users will have to implement their own weak callbacks & dispose traits.
| std::map<K, PersistentContainerValue> v8::StdMapTraits< K, V >::Impl |
| Impl::iterator v8::StdMapTraits< K, V >::Iterator |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |