libycxx

class template

std::match_results

Header
<regex>
Scope
std

Synopsis

template<
    class BidirectionalIterator,
    class Allocator = allocator<sub_match<BidirectionalIterator>>>
class match_results;

Member types

NameDeclaration
allocator_typetype alias · member type= Allocator
char_typetype alias · member type= iterator_traits<BidirectionalIterator>::value_type
const_iteratortype alias · member type= vector-type::const_iterator
const_referencetype alias · member type= const value_type&
difference_typetype alias · member type= iterator_traits<BidirectionalIterator>::difference_type
iteratortype alias · member type= const_iterator
referencetype alias · member type= value_type&
size_typetype alias · member type= allocator_traits<Allocator>::size_type
string_typetype alias · member type= basic_string<char_type>
value_typetype alias · member type= sub_match<BidirectionalIterator>

Member functions

NameDeclaration
match_resultsconstructor · 6 overloadsmatch_results() +5 more
~match_resultsdestructor~match_results()
operator=operator · 2 overloadsmatch_results& operator=(const match_results& m) +1 more
beginmember functionconst_iterator begin() const
cbeginmember functionconst_iterator cbegin() const
cendmember functionconst_iterator cend() const
emptymember functionbool empty() const
endmember functionconst_iterator end() const
formatmember function · 4 overloadsstring_type format(const char_type* fmt, regex_constants::match_flag_type flags) const +3 more
get_allocatormember functionallocator_type get_allocator() const
lengthmember functiondifference_type length(size_type sub) const
max_sizemember functionsize_type max_size() const
operator[]operatorconst_reference operator[](size_type n) const
positionmember functiondifference_type position(size_type sub) const
prefixmember functionconst_reference prefix() const
readymember functionbool ready() const
sizemember functionsize_type size() const
strmember functionstring_type str(size_type sub) const
suffixmember functionconst_reference suffix() const
swapmember functionvoid swap(match_results& that)