问题是关于C++文档和标准文档.在下面的代码中使用xodr 变量?
x
extern int x; template<class T> T f() { return x; }
在我看来它没有被使用,芽在文件中说明了什么?(有声明,x表达中的外观是odr-use,但......)
c++ templates language-lawyer
c++ ×1
language-lawyer ×1
templates ×1