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
deductionguidesforstd::basic_regex(3) C++ Standard Libary deductionguidesforstd::basic_regex(3)

deductionguidesforstd::basic_regex - deductionguidesforstd::basic_regex


Defined in header <regex>
template<class ForwardIt>


basic_regex(ForwardIt, ForwardIt,
std::regex_constants::syntax_option_type = (since C++17)
std::regex_constants::ECMAScript)


-> basic_regex<typename std::iterator_traits<ForwardIt>::value_type>;


This deduction guide is provided for std::basic_regex to allow deduction from an
iterator range.

// Run this code


#include <regex>
#include <vector>
int main() {
std::vector<char> v = {'a', 'b', 'c'};
std::basic_regex re(v.begin(), v.end()); // uses explicit deduction guide
}

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.