Project

General

Profile

Feature #1693

Print template parameters when missing explicit instantiation

Added by Nils Deppe 22 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
09/26/2017
Due date:
% Done:

0%


Description

First, thanks for now reporting missing explicit instantiations of template entry methods! I have a minor feature request that I'm not sure is implementable, but I think would be really useful. I'm wondering if the chare class name and/or the entry method's template parameters could be printed with the error message. The class name could be implemented using typeid(klass).name(), while for the function's template parameters could be printed using a variadic function template and std::stringstream. With both the class and function signature including template parameters, the error message could even say what the missing explicit instantiation is and how to add it to an interface file. This would make it much easier for beginners to get their code up and running.

Also available in: Atom PDF