This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Inlining warning
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: 29 Apr 2003 19:59:51 +0200
- Subject: Re: Inlining warning
- Organization: Integrable Solutions
- References: <200304291746.h3THkI2t002987@hiauly1.hia.nrc.ca>
"John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca> writes:
[...]
| failed in call to `__gnu_cxx::__normal_iterator<typename _Alloc::pointer,
| std::basic_string<_CharT, _Traits, _Alloc> > std::basic_string<_CharT,
| _Traits, _Alloc>::_M_ibegin() const [with _CharT = wchar_t, _Traits =
| std::char_traits<wchar_t>, _Alloc = std::allocator<wchar_t>]'
It is odd the compiler cannot inline this function :-(
// For the internal use we have functions similar to `begin'/`end'
// but they do not call _M_leak.
iterator
_M_ibegin() const { return iterator(_M_data()); }
which means that the abstraction penalty might increase.
-- Gaby