We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6bd946 commit 40aec10Copy full SHA for 40aec10
source/declarations.tex
@@ -7289,15 +7289,15 @@
7289
\begin{codeblock}
7290
enum direction { left='l', right='r' };
7291
7292
-void g() {
+void g() {
7293
direction d; // OK
7294
d = left; // OK
7295
d = direction::right; // OK
7296
}
7297
7298
enum class altitude { high='h', low='l' };
7299
7300
-void h() {
+void h() {
7301
altitude a; // OK
7302
a = high; // error: \tcode{high} not in scope
7303
a = altitude::low; // OK
0 commit comments