[Patch] (Partial) fix for libstdc++/14078

Pétur Runólfsson peturr02@ru.is
Wed Feb 11 11:45:00 GMT 2004


Paolo Carlini wrote:
> Better results, working around deficiencies of the current inliner
> (http://gcc.gnu.org/ml/libstdc++/2003-02/msg00302.html) could be
> obtained by adding const qualifiers to the signatures.

But a top level const qualifier on a formal parameter is *not* part
of the signature, see 13.1. The only effect it has is to make the
parameter const within the function body. In other words, it's
equivalent to declaring a local variable const.

Regards,
Petur



More information about the Libstdc++ mailing list