[Bug libstdc++/63219] New: Superfluous template parameter in match_result::format overload
ofv at wanadoo dot es
gcc-bugzilla@gcc.gnu.org
Wed Sep 10 21:00:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63219
Bug ID: 63219
Summary: Superfluous template parameter in match_result::format
overload
Product: gcc
Version: 4.9.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: ofv at wanadoo dot es
This method:
template<typename _Out_iter, typename _St, typename _Sa>
basic_string<char_type, _St, _Sa>
format(const basic_string<char_type, _St, _Sa>& __fmt,
match_flag_type __flags = regex_constants::format_default) const
{
basic_string<char_type, _St, _Sa> __result;
format(std::back_inserter(__result), __fmt, __flags);
return __result;
}
in std::match_results contains "typename _Out_iter", which seems a copy&pasto.
Trying to use this method results on a compile error.
More information about the Gcc-bugs
mailing list