Skip to content

Latest commit

 

History

History
45 lines (33 loc) · 939 Bytes

cbegin.md

File metadata and controls

45 lines (33 loc) · 939 Bytes

cbegin

  • ranges[meta header]
  • std::ranges[meta namespace]
  • view_interface[meta class]
  • function[meta id-type]
  • cpp23[meta cpp]
constexpr auto cbegin()
  requires input_range<D>;       // (1)

constexpr auto cbegin() const
  requires input_range<const D>; // (2)
  • input_range[link ../input_range.md]

概要

Rangeの定数イテレータを取得する。

戻り値

(1)、(2)共に、以下と等価

return ranges::cbegin(derived());
  • ranges::cbegin[link ../cbegin.md]
  • derived[link derived.md]

計算量

償却定数時間

バージョン

言語

  • C++23

処理系

参照