constructor · 8 overloads
std::basic_regex::basic_regex
- Header
<regex>- Draft
- [re.regex.general]
- Scope
std::basic_regex- cppreference
- std::basic_regex::basic_regex
Constructors
Overloads
- (1)
basic_regex() = default; - (2)
basic_regex(const basic_regex& other) = default; - (3)
basic_regex(basic_regex&& e) noexcept; - (4)
basic_regex( initializer_list<charT> il, flag_type f = regex_constants::ECMAScript); - (5)
explicit basic_regex( const charT* p, flag_type f = regex_constants::ECMAScript); - (6)
template<class ST, class SA> explicit basic_regex( const basic_string<charT, ST, SA>& s, flag_type f = regex_constants::ECMAScript); - (7)
basic_regex( const charT* p, size_t len, flag_type f = regex_constants::ECMAScript); - (8)
template<class ForwardIterator> basic_regex( ForwardIterator first, ForwardIterator last, flag_type f = regex_constants::ECMAScript);