This is the mail archive of the archer@sourceware.org mailing list for the Archer 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: Template function support


>>>>> "Keith" == Keith Seitz <keiths@redhat.com> writes:

>> My idea was to remove <int> from foo<int>() and store it just as plain
>> foo. This would allow for normal overload resolution to take place. The
>> patch attached to this message demonstrates that approach.

Keith> Just one quick question: Did you consider the opposite approach, i.e.,
Keith> adding "<int>" (since we can deduce that from the argument type)?

You mean adding that at lookup time?

I think that is hard because the lookup is a complicated process, not
just adding the argument type names.

Tom


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