Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/templates.tex
Original file line number Diff line number Diff line change
Expand Up @@ -7016,7 +7016,7 @@
template int *var<int>; // error: instantiated variable has type \tcode{int}

template<typename T> auto av = T();
template int av<int>; // OK, variable with type \tcode{int} can be redeclared with type \keyword{auto}
template int av<int>; // OK, variable with type \tcode{auto} can be redeclared with type \keyword{int}

template<typename T> auto f() {}
template void f<int>(); // error: function with deduced return type
Expand Down