☰
Debian Codegraph
@
10.1.6+dfsg-1
/
/
docpages
/
example_code
/
coding_style_standards
/
curly_braces.cpp
☽
☼
docpages/example_code/coding_style_standards/curly_braces.cpp
code
plain
raw
Apache-2.0
2021-2022 Craig Edwards <
[email protected]
>
debian/copyright
1
void foo() {
2
if (a == b) {
3
c();
4
} else {
5
d();
6
}
7
8
while (true) {
9
// ...
10
}
11
12
switch (a) {
13
case 1:
14
c();
15
break;
16
case 2:
17
d();
18
break;
19
}
20
}