This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]