Namespaces
Variants

std::match_results<BidirIt,Alloc>:: max_size

From cppreference.net
Regular expressions library
Classes
(C++11)
Algorithms
Iterators
Exceptions
Traits
Constants
(C++11)
Regex Grammar
size_type max_size ( ) const noexcept ;
(C++11 이후)

match_results 타입이 시스템 또는 라이브러리 구현 한계로 인해 보유할 수 있는 최대 부분 일치(submatch) 수를 반환합니다. 즉, std:: distance ( begin ( ) , end ( ) ) 가 가장 많은 부분 일치 수에 대해 계산한 값입니다.

매개변수

(없음)

반환값

최대 서브매치 수.

복잡도

상수.