std::valarray<T>::size (3) - Linux Manuals
std::valarray<T>::size: std::valarray<T>::size
NAME
std::valarray<T>::size - std::valarray<T>::size
Synopsis
std::size_t size() const;
Returns the number of elements in the valarray.
Parameters
(none)
Return value
Number of elements in the valarray.
Example
// Run this code
Output:
See also
resize (public member function)