◐ Shell
clean mode source ↗

std::array<T,N>::end, std::array<T,N>::cend - cppreference.com

提供: cppreference.com

<tbody> </tbody> <tbody class="t-dcl-rev "> </tbody><tbody> </tbody> <tbody class="t-dcl-rev "> </tbody><tbody> </tbody> <tbody class="t-dcl-rev "> </tbody><tbody> </tbody>

iterator end() noexcept;

(C++17未満)

constexpr iterator end() noexcept;

(C++17以上)

const_iterator end() const noexcept;

(C++17未満)

constexpr const_iterator end() const noexcept;

(C++17以上)

const_iterator cend() const noexcept;

(C++17未満)

constexpr const_iterator cend() const noexcept;

(C++17以上)

コンテナの最後の要素の次の要素を指すイテレータを返します。

この要素はプレースホルダとしての役割を持ちます。 この要素にアクセスを試みると未定義動作になります。

引数

(なし)

戻り値

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

計算量

一定。

関連項目