std::sub_match<BidirIt>::length (3) - Linux Manuals

std::sub_match<BidirIt>::length: std::sub_match<BidirIt>::length

NAME

std::sub_match<BidirIt>::length - std::sub_match<BidirIt>::length

Synopsis


difference_type length() const;

Parameters


(none)

Return value


Returns the number of characters in the match, i.e. std::distance(first, second) if the match is valid, 0 otherwise.

Complexity


Constant