名前空間
変種
操作

std::sub_match<BidirIt>::length

提供: cppreference.com
< cpp‎ | regex‎ | sub match
difference_type length()const;

[編集]引数

(なし)

[編集]戻り値

マッチが有効であればマッチ内の文字数、すなわち std::distance(first, second)。 そうでなければ0。

[編集]計算量

一定。

close