5 #ifndef V8_ZONE_ALLOCATOR_H_
6 #define V8_ZONE_ALLOCATOR_H_
31 :
zone_(other.zone_) {}
33 :
zone_(other.zone_) {}
41 static_cast<int>(n)));
46 return std::numeric_limits<int>::max() /
sizeof(
value_type);
49 new(
static_cast<void*
>(p))
T(val);
ptrdiff_t difference_type
const_pointer address(const_reference x) const
const T & const_reference
pointer address(reference x) const
void construct(pointer p, const T &val)
zone_allocator(Zone *zone)
zone_allocator(const zone_allocator &other)
bool operator!=(zone_allocator const &other)
zone_allocator(const zone_allocator< U > &other)
bool operator==(zone_allocator const &other)
void deallocate(pointer p, size_type)
size_type max_size() const
pointer allocate(size_type n, const void *hint=0)
zone_allocator< int > ZoneIntAllocator
zone_allocator< bool > ZoneBoolAllocator
Debugger support for the V8 JavaScript engine.
zone_allocator< O > other
#define T(name, string, precedence)