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

#include <zone-containers.h>

Inheritance diagram for v8::internal::SmallZoneVector< T, kSize >:
Collaboration diagram for v8::internal::SmallZoneVector< T, kSize >:

Public Member Functions

 SmallZoneVector (Zone *zone)
 
 SmallZoneVector (size_t size, Zone *zone)
 
- Public Member Functions inherited from v8::base::SmallVector< T, kSize, ZoneAllocator< T > >
 SmallVector ()=default
 
 SmallVector (const ZoneAllocator< T > &allocator)
 
V8_INLINE SmallVector (size_t size, const ZoneAllocator< T > &allocator=ZoneAllocator< T >())
 
V8_INLINE SmallVector (size_t size, const T &initial_value, const ZoneAllocator< T > &allocator=ZoneAllocator< T >())
 
 SmallVector (const SmallVector &other) V8_NOEXCEPT
 
 SmallVector (const SmallVector &other, const ZoneAllocator< T > &allocator) V8_NOEXCEPT
 
 SmallVector (SmallVector &&other) V8_NOEXCEPT
 
 SmallVector (SmallVector &&other, const ZoneAllocator< T > &allocator) V8_NOEXCEPT
 
V8_INLINE SmallVector (std::initializer_list< T > init, const ZoneAllocator< T > &allocator=ZoneAllocator< T >())
 
V8_INLINE SmallVector (base::Vector< const T > init, const ZoneAllocator< T > &allocator=ZoneAllocator< T >())
 
 ~SmallVector ()
 
SmallVector & operator= (const SmallVector &other) V8_NOEXCEPT
 
SmallVector & operator= (SmallVector &&other) V8_NOEXCEPT
 
T * data ()
 
const T * data () const
 
T * begin ()
 
const T * begin () const
 
T * end ()
 
const T * end () const
 
auto rbegin ()
 
auto rbegin () const
 
auto rend ()
 
auto rend () const
 
size_t size () const
 
bool empty () const
 
size_t capacity () const
 
T & front ()
 
const T & front () const
 
T & back ()
 
const T & back () const
 
T & at (size_t index)
 
const T & at (size_t index) const
 
T & operator[] (size_t index)
 
const T & operator[] (size_t index) const
 
void emplace_back (Args &&... args)
 
void push_back (T x)
 
void pop_back (size_t count=1)
 
T * insert (T *pos, const T &value)
 
T * insert (T *pos, size_t count, const T &value)
 
T * insert (T *pos, It begin, It end)
 
T * insert (T *pos, std::initializer_list< T > values)
 
void erase (T *erase_start)
 
void resize (size_t new_size)
 
void resize (size_t new_size, const T &initial_value)
 
void reserve (size_t new_capacity)
 
void clear ()
 
ZoneAllocator< T > get_allocator () const
 

Additional Inherited Members

- Public Types inherited from v8::base::SmallVector< T, kSize, ZoneAllocator< T > >
using value_type
 
- Static Public Attributes inherited from v8::base::SmallVector< T, kSize, ZoneAllocator< T > >
static constexpr size_t kInlineSize
 

Detailed Description

template<typename T, size_t kSize>
class v8::internal::SmallZoneVector< T, kSize >

Definition at line 751 of file zone-containers.h.

Constructor & Destructor Documentation

◆ SmallZoneVector() [1/2]

template<typename T , size_t kSize>
v8::internal::SmallZoneVector< T, kSize >::SmallZoneVector ( Zone * zone)
inlineexplicit

Definition at line 754 of file zone-containers.h.

◆ SmallZoneVector() [2/2]

template<typename T , size_t kSize>
v8::internal::SmallZoneVector< T, kSize >::SmallZoneVector ( size_t size,
Zone * zone )
inlineexplicit

Definition at line 757 of file zone-containers.h.


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