This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [cxx-conversion] New Hash Table (issue6244048)


On Fri, May 25, 2012 at 1:25 AM, Jakub Jelinek <jakub@redhat.com> wrote:

>> Static functions are also not acceptable as template arguments, so
>> this patch externalizes the functions. ?To avoid potential name
>> conflicts, the function names have been prefixed.
>
> Ugh. ?I guess the C++ way around this would be to put the functions into
> anonymous namespace.

Anonymous namespaces have the problem that they may interfere with
bootstrap diff-compare.

-- Gaby


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