Vector - continuous array data type T. More...
Classes | |
| class | iterator |
| The object that abstracts a single interface access to the items in the collection. More... | |
Public Member Functions | |
| _FORCEINLINE void | assign (T _val) |
| Adds a new element. | |
| _FORCEINLINE T & | at (unsigned int id) |
| Returns the element of the selected position of the array. | |
| _FORCEINLINE iterator | begin () |
| Returns an iterator pointing to the first element in the sequence. | |
| _FORCEINLINE void | clear () |
| Frees an array of completely deleting the allocated memory. | |
| _FORCEINLINE unsigned int | count () |
| Number of array elements. | |
| _FORCEINLINE T * | data () |
| Returns an array of data in a continuous sequence of elements. | |
| _FORCEINLINE iterator | end () |
| Returns an iterator to the conditional end in the sequence. | |
| _FORCEINLINE T & | first () |
| Returns the first element of the array. | |
| _FORCEINLINE bool | isEmpty () |
| Returns true if the array does not contain any element. | |
| _FORCEINLINE T & | last () |
| Returns the last element of the array. | |
| _FORCEINLINE void | pop_back () |
| Removes the last element. | |
Vector - continuous array data type T.
В отличии от std::vector скорость выполнения операций снижена за счет переходов на реализацию методов, имеет более компактный код. При доступе к элементу, в некоторых случаях, производит константное вычисление размера данных.
1.8.4