extern storage class specifier

前端 未结 3 803
不思量自难忘°
不思量自难忘° 2020-12-19 19:43

Section 7.1 of the C++ Standard mentions about \'extern\' as a storage class specifier.

N3126 - \"The extern specifier can be applied only to the na

3条回答
  •  太阳男子
    2020-12-19 20:43

    It's not really a storage specifier per se. It comes before the variable name much as other storage specifiers do, but all it does is shut the compiler up and tell the linker that it has more work to do.

提交回复
热议问题