Better writing for C++17 nested namespaces. (#85)

* Better writing for C++17 nested namespaces.
This commit is contained in:
Rodrigo
2020-07-19 13:20:09 -03:00
committed by GitHub
parent 5c6303dbee
commit 2096b977c8
2 changed files with 8 additions and 2 deletions

View File

@@ -170,7 +170,10 @@ namespace A {
}
}
}
// vs.
```
The code above can be written like this:
```c++
namespace A::B::C {
int i;
}