diff --git a/libcxx/include/regex b/libcxx/include/regex --- a/libcxx/include/regex +++ b/libcxx/include/regex @@ -21,7 +21,7 @@ namespace regex_constants { -emum syntax_option_type +enum syntax_option_type { icase = unspecified, nosubs = unspecified, @@ -631,7 +631,7 @@ const basic_regex& e, const charT* fmt, regex_constants::match_flag_type flags = regex_constants::match_default); -template > +template basic_string regex_replace(const basic_string& s, const basic_regex& e, @@ -675,9 +675,9 @@ regex_iterator(BidirectionalIterator a, BidirectionalIterator b, const regex_type& re, regex_constants::match_flag_type m = regex_constants::match_default); - regex_iterator(_BidirectionalIterator __a, _BidirectionalIterator __b, - const regex_type&& __re, - regex_constants::match_flag_type __m + regex_iterator(BidirectionalIterator a, BidirectionalIterator b, + const regex_type&& re, + regex_constants::match_flag_type m = regex_constants::match_default) = delete; // C++14 regex_iterator(const regex_iterator&); regex_iterator& operator=(const regex_iterator&); @@ -698,7 +698,7 @@ typedef regex_iterator wsregex_iterator; template ::value_type, + class charT = typename iterator_traits::value_type, class traits = regex_traits> class regex_token_iterator { @@ -735,8 +735,8 @@ regex_constants::match_flag_type m = regex_constants::match_default); template regex_token_iterator(BidirectionalIterator a, BidirectionalIterator b, - const regex_type& re, const int (&submatches)[N], - regex_constants::match_flag_type m = regex_constants::match_default) = delete // C++14; + const regex_type&& re, const int (&submatches)[N], + regex_constants::match_flag_type m = regex_constants::match_default) = delete; // C++14 regex_token_iterator(const regex_token_iterator&); regex_token_iterator& operator=(const regex_token_iterator&);