Skip to content

Commit 4416bf1

Browse files
authored
Removed extra "}" and fixed indentation
1 parent 6d5921d commit 4416bf1

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

docs/cpp/namespaces-cpp.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -95,15 +95,14 @@ Members of a named namespace can be defined outside the namespace in which they
9595
// defining_namespace_members.cpp
9696
// C2039 expected
9797
namespace V {
98-
void f();
99-
}
98+
void f();
99+
}
100100
101-
void V::f() { } // ok
102-
void V::g() { } // C2039, g() is not yet a member of V
101+
void V::f() { } // ok
102+
void V::g() { } // C2039, g() is not yet a member of V
103103
104-
namespace V {
105-
void g();
106-
}
104+
namespace V {
105+
void g();
107106
}
108107
```
109108

@@ -258,4 +257,4 @@ This is called an unnamed or anonymous namespace and it is useful when you want
258257

259258
## See also
260259

261-
[Declarations and Definitions](declarations-and-definitions-cpp.md)
260+
[Declarations and Definitions](declarations-and-definitions-cpp.md)

0 commit comments

Comments
 (0)