Skip to content

Commit 174c44e

Browse files
jensmaurertkoeppe
authored andcommitted
[temp.local] Fix example not to name the constructor. (#1981)
1 parent c311f6d commit 174c44e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/templates.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4461,7 +4461,7 @@
44614461
};
44624462

44634463
template<class T, template<class> class U = T::template Base> struct Third { };
4464-
Third<Base<int> > t; // OK: default argument uses injected-class-name as a template
4464+
Third<Derived<int> > t; // OK: default argument uses injected-class-name as a template
44654465
\end{codeblock}
44664466
\end{example}
44674467

0 commit comments

Comments
 (0)