From: Tom Tromey <tromey@redhat.com>
To: Keith Seitz <keiths@redhat.com>
Cc: sami wagiaalla <swagiaal@redhat.com>,
Project Archer <archer@sourceware.org>
Subject: Re: Template function support
Date: Thu, 10 Jun 2010 19:11:00 -0000 [thread overview]
Message-ID: <m3ljam8zyw.fsf@fleche.redhat.com> (raw)
In-Reply-To: <4C113635.1040500@redhat.com> (Keith Seitz's message of "Thu, 10 Jun 2010 12:00:05 -0700")
>>>>> "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
next prev parent reply other threads:[~2010-06-10 19:11 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-10 18:57 sami wagiaalla
2010-06-10 19:00 ` Keith Seitz
2010-06-10 19:11 ` Tom Tromey [this message]
2010-06-10 19:21 ` Keith Seitz
2010-06-11 3:32 ` Tom Tromey
2010-06-11 14:23 ` sami wagiaalla
2010-06-10 19:17 ` sami wagiaalla
2010-06-10 19:43 ` Tom Tromey
2010-06-10 20:04 ` sami wagiaalla
2010-06-11 3:29 ` Tom Tromey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3ljam8zyw.fsf@fleche.redhat.com \
--to=tromey@redhat.com \
--cc=archer@sourceware.org \
--cc=keiths@redhat.com \
--cc=swagiaal@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).