Uses of unnamed namespace in C++

后端 未结 0 1228
失恋的感觉
失恋的感觉 2020-12-23 06:35

When would one use unnamed namespace in C++ ? Is it better in any sense than a free standing function? Also, should it be used only in source file and not in header file?

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