std::match_results::length

difference_type length( size_type n = 0 ) const; (since C++11) Returns the length of the specified sub-match. If n == 0, the length of the entire matched expression is returned. If n > 0 && n < size(), the length of nth sub-match is returned. if n >= size(), a length of the unmatched match is returned. The call is equivalent to (*this)[n].length(). Parameters n - integral number specifying which match to examine Return value The length of the specified mat

std::match_results::get_allocator

allocator_type get_allocator() const; (since C++11) Returns the allocator associated with the object. Parameters (none). Return value The associated allocator. Complexity Constant.

std::match_results::format

template< class OutputIt > OutputIter format( OutputIt out, const char_type* fmt_first, const char_type* fmt_last, std::regex_constants::match_flag_type flags = std::regex_constants::format_default ) const; (1) (since C++11) template< class OutputIt, class ST, class SA > OutputIter format( OutputIt out, const basic_string<char_type,ST,SA>& fmt, std::regex_constants::ma

std::match_results::end

iterator end(); (since C++11) const_iterator end() const; (since C++11) const_iterator cend() const; (since C++11) Returns an iterator to the end of the list of sub-matches. Parameters (none). Return value Iterator to the element past the last sub-match. Exceptions noexcept specification: noexcept Complexity Constant. See also begincbegin returns iterator to the beginning of the list of sub-matches (public member function)

std::match_results::empty

bool empty() const; (since C++11) Checks whether the match was successful. Parameters (none). Return value true if the match_results object contains no matches., false otherwise. Exceptions (none). Complexity Constant. See also size returns the number of matches in a fully-established result state (public member function)

std::match_results::begin

iterator begin(); (since C++11) const_iterator begin() const; (since C++11) const_iterator cbegin() const; (since C++11) Returns an iterator to the beginning of the list of sub-matches. If match was successful, the iterator will point to the entire matched expression. Parameters (none). Return value Iterator to the first sub-match. Exceptions noexcept specification: noexcept Complexity Constant. See also endcend returns iterator to the end of the list of

std::match_results

Defined in header <regex> template< class BidirIt, class Alloc = std::allocator<std::sub_match<BidirIt>> > class match_results; (since C++11) The class template std::match_results holds a collection of character sequences that represent the result of a regular expression match. This is a specialized allocator-aware container. It can only be default created, obtained from std::regex_iterator, or modified by std::regex_search or std::regex_match. Bec

std::mask_array::operators

void operator+=( const std::valarray<T>& other ); void operator-=( const std::valarray<T>& other ); void operator*=( const std::valarray<T>& other ); void operator/=( const std::valarray<T>& other ); void operator%=( const std::valarray<T>& other ); void operator&=( const std::valarray<T>& other ); void operator|=( const std::valarray<T>& other ); void operator^=( const std::vala

std::mask_array::mask_array

mask_array( const mask_array& other ); mask_array() = delete; Constructs a mask_array from another mask_array other. The default constructor is implicitly deleted. Parameters other - mask_array to initialize with

std::mask_array

Defined in header <valarray> template< class T > class mask_array; std::gslice_array is a helper template used by std::mask_array subscript operator. It has reference semantics to a subset of the array specified by an mask array (std::valarray<bool> object). Member types Type Definition value_type T Member functions (constructor) constructs a mask_array (public member function) (destructor) destroys a mask_array (public member function)