v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::ThreadIsolation::StlAllocator< T > Struct Template Reference

#include <code-memory-access.h>

Collaboration diagram for v8::internal::ThreadIsolation::StlAllocator< T >:

Public Types

typedef T value_type
 

Public Member Functions

 StlAllocator ()=default
 
template<class U >
 StlAllocator (const StlAllocator< U > &) noexcept
 
value_typeallocate (size_t n)
 
void deallocate (value_type *ptr, size_t n)
 

Detailed Description

template<class T>
struct v8::internal::ThreadIsolation::StlAllocator< T >

Definition at line 227 of file code-memory-access.h.

Member Typedef Documentation

◆ value_type

template<class T >
T v8::internal::ThreadIsolation::StlAllocator< T >::value_type

Definition at line 228 of file code-memory-access.h.

Constructor & Destructor Documentation

◆ StlAllocator() [1/2]

template<class T >
v8::internal::ThreadIsolation::StlAllocator< T >::StlAllocator ( )
default

◆ StlAllocator() [2/2]

template<class T >
template<class U >
v8::internal::ThreadIsolation::StlAllocator< T >::StlAllocator ( const StlAllocator< U > & )
inlineexplicitnoexcept

Definition at line 232 of file code-memory-access.h.

Member Function Documentation

◆ allocate()

template<class T >
value_type * v8::internal::ThreadIsolation::StlAllocator< T >::allocate ( size_t n)
inline

Definition at line 234 of file code-memory-access.h.

◆ deallocate()

template<class T >
void v8::internal::ThreadIsolation::StlAllocator< T >::deallocate ( value_type * ptr,
size_t n )
inline

Definition at line 243 of file code-memory-access.h.


The documentation for this struct was generated from the following file: