This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: std::pow implementation
- From: Michael Matz <matz at suse dot de>
- To: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- Cc: Steven Bosscher <s dot bosscher at student dot tudelft dot nl>,Richard Guenther <rguenth at tat dot physik dot uni-tuebingen dot de>,<gcc at gcc dot gnu dot org>
- Date: Tue, 29 Jul 2003 16:51:35 +0200 (CEST)
- Subject: Re: std::pow implementation
Hi,
On 29 Jul 2003, Gabriel Dos Reis wrote:
> | > Start with removing the requirement that whether a function should be
> | > inlined depends on its context of use.
> |
> | So it should be inlined independend of the context?
>
> You missed "of use".
No, only in my repetition.
> It is nonsense only after you have modified what I said.
>
> A simple function like 'std::string::end() const' should be cost-free.
You are speaking about a special case (one small function) to support your
suggestion (makeing it happen for all functions).