After looking at the source code of boost::polygon , I saw many applications of the following topic:
How can bar(a) be called without additional qualifications? I would expect only B::bar(a) to compile.
If the function has no argument inside the namespace, this does not happen.
c ++ namespaces c ++ 11
vukung
source share