名前空間
変種

std::array<T,N>::begin, std::array<T,N>::cbegin

提供: 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 begin() noexcept;
(C++17未満)
constexpr iterator begin() noexcept;
(C++17以上)
const_iterator begin() const noexcept;
(C++17未満)
constexpr const_iterator begin() const noexcept;
(C++17以上)
const_iterator cbegin() const noexcept;
(C++17未満)
constexpr const_iterator cbegin() const noexcept;
(C++17以上)

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

コンテナが空の場合は、返されたイテレータは end() と等しくなります。

引数

(なし)

戻り値

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

計算量

一定。


関連項目

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