confusion about C++ name lookup

后端 未结 0 498
温柔的废话
温柔的废话 2021-02-04 21:08

According to my knowledge, the name in a nested scope will hide the same name in the enclosing scope, just like what shows below:

namespace ttt {
    class A {};
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题