GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||
GeezerVison is showing cplusplus.com — std::array::rbegin Reference
array
public member function
<array>
std::array::rbeginreverse_iterator rbegin() noexcept;const_reverse_iterator rbegin() const noexcept; Return reverse iterator to reverse beginning
rbegin points to the element right before the one that would be pointed to by member end. Notice that unlike member array::back, which returns a reference to this same element, this function returns a reverse random access iterator. ParametersnoneReturn ValueA reverse iterator to the reverse beginning of the sequence.If the array object is const-qualified, the function returns a const_iterator. Otherwise, it returns an iterator. Member types reverse_iterator and const_reverse_iterator are reverse random access iterator types (pointing to an element and to a const element, respectively). See vector member types. Example
Output:
Notice how the reverse iterator iterates through the vector in a reverse way by increasing the iterator. ComplexityConstant.Iterator validityNo changes.Data racesNo contained elements are accessed by the call, but the iterator returned can be used to access or modify elements. Concurrently accessing or modifying different elements is safe.Exception safetyNo-throw guarantee: this member function never throws exceptions.The copy construction or assignment of the returned iterator is also guaranteed to never throw. See also
Home page | Privacy policy
© cplusplus.com, 2000-2026 - All rights reserved - v3.3.4s Spotted an error? contact us | |||
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |