[Bug libstdc++/14078] Manipulators are slow
peturr02 at ru dot is
gcc-bugzilla@gcc.gnu.org
Tue Feb 10 15:22:00 GMT 2004
------- Additional Comments From peturr02 at ru dot is 2004-02-10 15:22 -------
> The concerned operator<< and operator>> are _already_ inline!
This is one of the operators in question (from include/bits/ostream.tcc):
template<typename _CharT, typename _Traits>
basic_ostream<_CharT, _Traits>&
basic_ostream<_CharT, _Traits>::
operator<<(__ostream_type& (*__pf)(__ostream_type&))
{
// _GLIBCXX_RESOLVE_LIB_DEFECTS
// DR 60. What is a formatted input function?
// The inserters for manipulators are *not* formatted output functions.
return __pf(*this);
}
I don't see "inline" here. Do you?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14078
More information about the Gcc-bugs
mailing list