One of C++ most underrated features: Namespace aliases--Jonathan Müller
A nice story with a goal:
One of C++ most underrated features: Namespace aliases
by Jonathan Müller
From the article:
About two months ago I wrote the following r/cpp comment:
[compte supprimé]
- You could always just alias the namespace like namespace fnc = FunctionalPlus.
foonathan
- Namespace aliases are one of C++ most underrated features.
In the thread a new library was presented. One user complained about the long namespace name, (s)he got the above replies. Judging by the number of upvotes, people seemed to agree with my comment. In this blog post I am going to elaborate it...