Since pw::Vectors are statically allocated, 65535 is a reasonable upper
limit for the number of entries in the vector.
Change-Id: I5a2fda53d522cffd70138d34b60273c6083ffe41
Remove the static version of max_size() for consistency with std::vector
and std::array and to avoid potentially reporting inaccurate values in
unusual situations such as working with aliased types.
Change-Id: I5647ab7e882b65c09b8d616a81835c92b85d8abb
pw::Vector implements the std::vector interface, but uses a fixed size
buffer instead of dynamically allocated memory. Vectors must be declared
with their max size (Vector<Type, kMaxSize>) but may be referred to
without the max size (Vector<Type>).
Change-Id: Iac16996109b55fdf8fce73a97e8e84072eb8d166