This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Multiple breakpoint locations
On Sun, Nov 18, 2007 at 09:46:53PM +1300, Nick Roberts wrote:
> But Andreas has said that:
>
> "For function templates the return type is part of the signature"
>
> and
>
> "It is valid for function template instantiations to only differ in the
> return type."
>
> which suggests to me that the return type is a necessary part of the name.
True, but in most cases it is not necessary to disambiguate. Only in
the rare cases where the program contains two instantiations which
differ only in return type.
--
Daniel Jacobowitz
CodeSourcery