clang icon indicating copy to clipboard operation
clang copied to clipboard

template parameter default values are not imported

Open balazske opened this issue 7 years ago • 1 comments

Example code:

template <typename T=int> void declToImport(T &t) { };

After import the =int default value is missing.

balazske avatar Feb 28 '18 13:02 balazske

Specializations have the concrete template parameter, so this is not a severe problem. (Until a checker is seeking an error based on default template parameters.)

martong avatar Nov 22 '18 14:11 martong