Does declaring functions in anonymous namespace with “static” reduces the linking time and memory by not polluting the symbol table

前端 未结 0 641
后悔当初
后悔当初 2021-01-29 17:11

I am in a discussion in one of the code review sessions.

The debate is about if the functions in the anonymous namespace should be declared static or not. As an example,

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