In http://llvm.org/docs/doxygen/html/STLExtras_8h_source.html the 'tier' is implemented in an anonymous namespace inside a header. Is there any reason/benefit to this? Does it trick some amount of namespace lookup because I don't think it hides the name at all (llvm::tier should still be valid)? - David
On Jul 20, 2011, at 9:56 AM, David Blaikie wrote:> In http://llvm.org/docs/doxygen/html/STLExtras_8h_source.html the > 'tier' is implemented in an anonymous namespace inside a header. Is > there any reason/benefit to this? > Does it trick some amount of namespace lookup because I don't think it > hides the name at all (llvm::tier should still be valid)?No there is no benefit to this, I'll remove it. This dates back to r9723 :) -Chris