Direct modification of objects that have external linkage.
直接改变具有外部连接属性的对象。
Indicate that file-scope identifiers should have no external linkage.
文件中,指明标识符不应有外部可连接性。
The templates, classes, functions, and objects in the library have external linkage (3.5).
标准库中的模板,类,函数和对象具有外部连接(3.5)。
You are defining a function with external linkage and including it in two compilation units.
你定义的函数与外部的联系,包括这两个编译单元。
By default the global variables have external linkage unless changed by adding static keyword.
默认情况下,通过添加静态全局变量外部链接,除非改变了关键字。
If you declare a static data member within a class definition as dllexport , a definition must occur somewhere within the same program (as with nonclass external linkage).
你必须在同一个程序中定义所有此类成员,否则会产生一个链接错误。
I think that for static functions (or those in an anonymous namespace), the compiler could possibly make the optimization you're talking about, since the function does not have external linkage.
我认为对于静态函数(或者匿名命名空间中的那些),编译器可能会做出你正在谈论的优化,因为函数没有外部链接。
I think that for static functions (or those in an anonymous namespace), the compiler could possibly make the optimization you're talking about, since the function does not have external linkage.
我认为对于静态函数(或者匿名命名空间中的那些),编译器可能会做出你正在谈论的优化,因为函数没有外部链接。
应用推荐