clang
clang copied to clipboard
template parameter default values are not imported
Example code:
template <typename T=int> void declToImport(T &t) { };
After import the =int default value is missing.
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.)