Skip to content

Commit b39a734

Browse files
authored
[basic.scope.class] Add missing 'typename' in example (#8194)
1 parent e593dc1 commit b39a734

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/basic.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1544,7 +1544,7 @@
15441544
\begin{codeblock}
15451545
template<class D>
15461546
struct B {
1547-
D::type x; // \#1
1547+
typename D::type x; // \#1
15481548
};
15491549

15501550
struct A { using type = int; };

0 commit comments

Comments
 (0)