Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
tr1 标头是否可用于 g++ v3.4.6?如果是这样,我如何在编译时找到它们。
以下是编译失败:
#include <tr1/memory>
出现以下错误:
myModule.h:20:24: tr1/memory: No such file or directory
我需要移动到以后的编译器还是在某个地方有头文件?
作为替代方案,Boost 也提供了TR1 实现。