28#ifndef OZZ_OZZ_BASE_CONTAINERS_VECTOR_H_
29#define OZZ_OZZ_BASE_CONTAINERS_VECTOR_H_
33#include "ozz/base/containers/std_allocator.h"
38template <
class _Ty,
class _Allocator = ozz::StdAllocator<_Ty>>
39using vector = std::vector<_Ty, _Allocator>;
46template <
class _Ty,
class _Allocator>
47inline _Ty* array_begin(std::vector<_Ty, _Allocator>& _vector) {
48 return _vector.data();
53template <
class _Ty,
class _Allocator>
54inline const _Ty* array_begin(
const std::vector<_Ty, _Allocator>& _vector) {
55 return _vector.data();
61template <
class _Ty,
class _Allocator>
62inline _Ty* array_end(std::vector<_Ty, _Allocator>& _vector) {
63 return _vector.data() + _vector.size();
69template <
class _Ty,
class _Allocator>
70inline const _Ty* array_end(
const std::vector<_Ty, _Allocator>& _vector) {
71 return _vector.data() + _vector.size();