We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d5921d commit 4416bf1Copy full SHA for 4416bf1
1 file changed
docs/cpp/namespaces-cpp.md
@@ -95,15 +95,14 @@ Members of a named namespace can be defined outside the namespace in which they
95
// defining_namespace_members.cpp
96
// C2039 expected
97
namespace V {
98
- void f();
99
- }
+ void f();
+}
100
101
- void V::f() { } // ok
102
- void V::g() { } // C2039, g() is not yet a member of V
+void V::f() { } // ok
+void V::g() { } // C2039, g() is not yet a member of V
103
104
- namespace V {
105
- void g();
106
+namespace V {
+ void g();
107
}
108
```
109
@@ -258,4 +257,4 @@ This is called an unnamed or anonymous namespace and it is useful when you want
258
257
259
## See also
260
261
-[Declarations and Definitions](declarations-and-definitions-cpp.md)
+[Declarations and Definitions](declarations-and-definitions-cpp.md)
0 commit comments