Project

General

Profile

Feature #1693

Print template parameters when missing explicit instantiation

Added by Nils Deppe 10 months ago. Updated 3 months ago.

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

0%

Tags:

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.

History

#1 Updated by Sam White 3 months ago

  • Target version set to 6.9.0

#2 Updated by Sam White 3 months ago

  • Tags set to #spectre

#3 Updated by Sam White 3 months ago

I added Ronak as a watcher since this is related to issue #1856.

#4 Updated by Sam White 3 months ago

  • Target version deleted (6.9.0)

Also available in: Atom PDF