名前空間
変種
操作

std::array<T,N>::rend, std::array<T,N>::crend

提供: cppreference.com
< cpp‎ | container‎ | array
 
 
 
std::array
メンバ関数
要素アクセス
イテレータ
array::rendarray::crend
容量
変更
非メンバ関数
(C++20)
(C++20未満)(C++20未満)(C++20未満)(C++20未満)(C++20未満)(C++20)
ヘルパークラス
推定ガイド(C++17)
 
reverse_iterator rend() noexcept;
(C++17未満)
constexpr reverse_iterator rend() noexcept;
(C++17以上)
const_reverse_iterator rend() const noexcept;
(C++17未満)
constexpr const_reverse_iterator rend() const noexcept;
(C++17以上)
const_reverse_iterator crend() const noexcept;
(C++17未満)
constexpr const_reverse_iterator crend() const noexcept;
(C++17以上)

逆順の array の最後の要素の次の要素を指す逆イテレータを返します。 これは非逆順の array}} の最初の要素の前の要素に対応します。 この要素はプレースホルダとして振る舞い、アクセスを試みると未定義動作になります。

range-rbegin-rend.svg

目次

[編集] 引数

(なし)

[編集] 戻り値

最後の要素の次の要素を指す逆イテレータ。

[編集] 計算量

定数。


[編集] 関連項目

先頭を指す逆イテレータを返します
(パブリックメンバ関数) [edit]