shared_ptr的性病:: TR1 [英] shared_ptr in std::tr1
本文介绍了shared_ptr的性病:: TR1的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我用gcc编译器的系统平台上提振但不能编译就可以了。
I am working on a platform with a gcc compiler however boost cannot compile on it.
我想知道什么是包含性病shared_ptr的正确的方法:在GCC TR1?我看着在文件中表示,不直接包含它,从我可以告诉没有其他文件包括它要么:|
I am wondering what is the proper way to include the shared_ptr in std:tr1 on gcc? the file i looked in said not to include it directly, from what i can tell no other file includes it either :|
推荐答案
在 G ++ 4.3
#include <tr1/memory>
应该做的伎俩。你会发现的shared_ptr
在的std :: TR1的:: shared_ptr的
。
这篇关于shared_ptr的性病:: TR1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文