template <typename T>

class Vector

Defined at line 189 of file ../../third_party/double-conversion/double-conversion/utils.h

This is a simplified version of V8's Vector class.

Public Methods

void Vector<T> ()

Defined at line 191 of file ../../third_party/double-conversion/double-conversion/utils.h

void Vector<T> (T * data, int len)

Defined at line 192 of file ../../third_party/double-conversion/double-conversion/utils.h

Vector<T> SubVector (int from, int to)

Returns a vector using the same backing storage as this one,

spanning from and including 'from', to but not including 'to'.

Defined at line 198 of file ../../third_party/double-conversion/double-conversion/utils.h

int length ()

Returns the length of the vector.

Defined at line 206 of file ../../third_party/double-conversion/double-conversion/utils.h

bool is_empty ()

Returns whether or not the vector is empty.

Defined at line 209 of file ../../third_party/double-conversion/double-conversion/utils.h

T * start ()

Returns the pointer to the start of the data in the vector.

Defined at line 212 of file ../../third_party/double-conversion/double-conversion/utils.h

T & operator[] (int index)

Access individual vector elements - checks bounds in debug mode.

Defined at line 215 of file ../../third_party/double-conversion/double-conversion/utils.h

T & first ()

Defined at line 220 of file ../../third_party/double-conversion/double-conversion/utils.h

T & last ()

Defined at line 222 of file ../../third_party/double-conversion/double-conversion/utils.h

void pop_back ()

Defined at line 224 of file ../../third_party/double-conversion/double-conversion/utils.h