名前空間
変種
操作

「cpp/regex/match results/begin」の版間の差分

提供: cppreference.com
< cpp‎ | regex‎ | match results
(1版:Translate from the English version)
 
(1人の利用者による、間の3版が非表示)
1行: 1行:
{{tr_note}}
 
 
{{cpp/regex/match_results/title | begin | cbegin}}
 
{{cpp/regex/match_results/title | begin | cbegin}}
 
{{cpp/regex/match_results/navbar}}
 
{{cpp/regex/match_results/navbar}}
{{ddcl list begin}}
+
{{begin}}
{{ddcl list item | notes={{mark since c++11}} |
+
{{| =c++11 |
iterator begin();
+
iterator begin() ;
 
}}
 
}}
{{ddcl list item | notes={{mark since c++11}} |
+
{{| sincec++11 |
const_iterator begin() const;
+
const_iterator begin() const ;
 
}}
 
}}
{{ddcl list item | notes={{mark since c++11}} |
+
{{| sincec++11 |
const_iterator cbegin() const;
+
const_iterator cbegin() const ;
 
}}
 
}}
{{ddcl list end}}
+
{{end}}
  
{{tr|サブマッチのリストの先頭に、反復子を返します.|Returns an iterator to the beginning of the list of sub-matches.}}
+
  
===パラメータ===
+
======
{{tr|(なし)|(none)}}
+
()
  
===値を返します===
+
======
{{tr|最初のサブマッチにイテレータ.|Iterator to the first sub-match.}}
+
  
===例外===
+
======
{{noexcept}}
+
  
===複雑===
+
======
{{tr|定数|Constant}}
+
  
===も参照してください===
+
{{begin}}
{{dcl list begin}}
+
{{| cpp/regex/match_results/end}}
{{dcl list template | cpp/regex/match_results/dcl list end}}
+
{{end}}
{{dcl list end}}
+
 
 +
 +
 +
 +
 +
 +
 +
 +

2018年4月21日 (土) 21:09時点における最新版

 
 
正規表現ライブラリ
クラス
(C++11)
アルゴリズム
イテレータ
例外
特性
定数
(C++11)
正規表現の文法
 
 
iterator begin() noexcept;
(C++11以上)
const_iterator begin() const noexcept;
(C++11以上)
const_iterator cbegin() const noexcept;
(C++11以上)

部分マッチのリストの先頭を指すイテレータを返します。 マッチが成功した場合、イテレータはマッチした表現全体を指します。

目次

[編集] 引数

(なし)

[編集] 戻り値

最初の部分マッチを指すイテレータ。

[編集] 計算量

一定。

[編集] 関連項目

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