std::begin(std::valarray)

From cppreference.com
 
 
 
 
template< class T >
/*unspecified1*/ begin( valarray<T>& v );
(1) (since C++11)
template< class T >
/*unspecified2*/ begin( const valarray<T>& v );
(2) (since C++11)

The specialization of std::begin for valarray returns an iterator of unspecified type referring to the first element in the numeric array.

1) The return type meets the requirements of mutable RandomAccessIterator.
2) The return type meets the requirements of constant RandomAccessIterator.

Contents

[edit] Parameters

v - a numeric array

[edit] Return value

Iterator to the first value in the numeric array.

[edit] Exceptions

(none)

[edit] Example

[edit] See also

specializes std::end
(function template)