GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
std::regex_iterator::operator==,operator!=(3) C++ Standard Libary std::regex_iterator::operator==,operator!=(3)

std::regex_iterator::operator==,operator!= - std::regex_iterator::operator==,operator!=


bool operator==(const regex_iterator& rhs) const; (1) (since C++11)
bool operator!=(const regex_iterator& rhs) const; (2) (since C++11)
(until C++20)


Compares two regex_iterators.


The != operator is synthesized from operator==. (since C++20)


rhs - a regex_iterator to compare to


For the sake of exposition, assume that regex_iterator contains the following
members:


* BidirIt begin;
* BidirIt end;
* const regex_type *pregex;
* std::regex_constants::match_flag_type flags;
* std::match_results<BidirIt> match;


1) Returns true if *this and rhs are both end-of-sequence iterators, or if all of
the following conditions are true:


* begin == rhs.begin
* end == rhs.end
* pregex == rhs.pregex
* flags == rhs.flags
* match[0] == rhs.match[0]


2) Returns !(*this == rhs)


This section is incomplete
Reason: no example

2022.07.31 http://cppreference.com

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.