[trivial] Add end of namespace comments

This commit is contained in:
practicalswift
2017-05-31 22:21:25 +02:00
parent 4c924011f5
commit 5a9b508279
20 changed files with 37 additions and 22 deletions

View File

@@ -45,7 +45,7 @@ class Class
return true;
}
}
}
} // namespace foo
```
Doxygen comments
@@ -408,6 +408,21 @@ Source code organization
- *Rationale*: Avoids symbol conflicts
- Terminate namespaces with a comment (`// namespace mynamespace`). The comment
should be placed on the same line as the brace closing the namespace, e.g.
```c++
namespace mynamespace {
...
} // namespace mynamespace
namespace {
...
} // namespace
```
- *Rationale*: Avoids confusion about the namespace context
GUI
-----