Namespaces
Variants
Views
Actions

std::end(std::valarray)

From cppreference.com
< cpp‎ | numeric‎ | valarray
Revision as of 22:21, 31 May 2013 by P12bot (Talk | contribs)

 
 
 
 
template< class T >
/*unspecified1*/ end( valarray<T>& v );
(1) (since C++11)
template< class T >
/*unspecified2*/ end( const valarray<T>& v );
(2) (since C++11)

The specialization of std::begin for valarray returns an iterator of unspecified type referring to the one past the last 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

Parameters

v - a numeric array

Return value

Iterator to one past the last value in the numeric array.

Exceptions

(none)

Example

See also

specializes std::begin
(function template) [edit]