Scroll to navigation

std::sub_match::length(3) C++ Standard Libary std::sub_match::length(3)

NAME

std::sub_match::length - std::sub_match::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.

2022.07.31 http://cppreference.com