Multiple breakpoint locations

Daniel Jacobowitz drow@false.org
Mon Nov 19 12:57:00 GMT 2007


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



More information about the Gdb mailing list