figure out where a particular template function is located

Steven Schveighoffer schveiguy at gmail.com
Wed Jun 24 22:06:25 UTC 2020


On 6/24/20 5:40 PM, kinke wrote:
> On Wednesday, 24 June 2020 at 21:05:12 UTC, Steven Schveighoffer wrote:
>> I have a hard time believing that there's no way to do this!
> 
> This would IMO be the job of the IDE. E.g., Visual D might be able to 
> jump to the template declaration.

Something useful in-code might be for instance, using the targeted 
function as a function pointer. Like, "use the function pointer that 
would be called with this IFTI call".

But it's not critical for me, I was just trying to locate what code is 
being called, and I know the compiler knows what it is.

-Steve


More information about the Digitalmars-d-learn mailing list