@@ -319,7 +319,7 @@ public:
319319
320320#if CPPREFERENCE_STDVER>= 2014
321321 regex_iterator(BidirIt, BidirIt,
322- const regex_type&&,
322+ regex_type&&,
323323 std::regex_constants::match_flag_type =
324324 std::regex_constants::match_default) = delete;
325325#endif
@@ -383,26 +383,26 @@ public:
383383
384384#if CPPREFERENCE_STDVER>= 2014
385385 regex_token_iterator(BidirectionalIterator a, BidirectionalIterator b,
386- const regex_type&& re,
386+ regex_type&& re,
387387 int submatch = 0,
388388 std::regex_constants::match_flag_type m =
389389 std::regex_constants::match_default) = delete;
390390
391391 regex_token_iterator(BidirectionalIterator a, BidirectionalIterator b,
392- const regex_type&& re,
392+ regex_type&& re,
393393 const std::vector<int>& submatches,
394394 std::regex_constants::match_flag_type m =
395395 std::regex_constants::match_default) = delete;
396396
397397 regex_token_iterator(BidirectionalIterator a, BidirectionalIterator b,
398- const regex_type&& re,
398+ regex_type&& re,
399399 std::initializer_list<int> submatches,
400400 std::regex_constants::match_flag_type m =
401401 std::regex_constants::match_default) = delete;
402402
403403 template <std::size_t N>
404404 regex_token_iterator(BidirectionalIterator a, BidirectionalIterator b,
405- const regex_type&& re,
405+ regex_type&& re,
406406 const int (&submatches)[N],
407407 std::regex_constants::match_flag_type m =
408408 std::regex_constants::match_default) = delete;
0 commit comments