花费 45ms 找到203670条记录
1 什么是boostshared_ptr(shared_ptr<Y> const & r, T * p) ? - What is boost's shared_ptr(shared_ptr<Y> const & r, T * p) used for?
2009年09月10 - boost::shared_ptr has an unusual constructor boost::shared_ptr有一个不同寻常的构造函数。 template<class Y> shared_ptr(shared_ptr<Y> const & r, T
2 shared_ptr:它用于什么 - shared_ptr: what's it used for
2008年12月05 - useful if different threads are going to be accessing the same data and you don't know what order the threads are going to finish (with the shared_ptr
3 提高::shared_ptr<T>和boost::shared_ptr<const t>共享引用计数? - Do boost::shared_ptr<T> and boost::shared_ptr<const T> share the reference count?
2010年09月30 - question: Is it safe to have both boost::shared_ptr<T> and boost::shared_ptr<const T> point to the same object of type T, or will this cause
4 如何在shared_ptr <T>和shared_ptr <const T>中使用boost :: atomic_store? - How to use boost::atomic_store with shared_ptr<T> and shared_ptr<const T>?
2017年09月11 - , boost::shared_ptr<const pc>(std::move(p)); This still creates an extra object but it shouldn't matter because the reference count is not modified
5 const shared_ptr<T>”和“shared_ptr<const T>”之间的区别? - Difference between `const shared_ptr<T>` and `shared_ptr<const T>`?
2013年07月22 - : return_type getBar() const { return m_bar; } private: boost::shared_ptr<Bar> m_bar; } So to support the const-ness of getBar
6 获得boost::shared_ptr。 - Getting a boost::shared_ptr for this
2008年09月26 - . Unfortunately this means that I can't pass this into any function that takes a shared_ptr. Consider this code: 我在代码中大量使用boost:shared_ptr。实际上,堆上分配的大多数对象都由
7 我应该使用boost :: ptr_vector <T>还是vector <boost :: shared_ptr <T >>? - Should I use boost::ptr_vector<T> or vector<boost::shared_ptr<T> >?
2010年09月29 - I need a container of pointers. Would you recommend boost::ptr_vector<T> or std::vector<boost::shared_ptr<T> >? (Or something else
8 如何使用boost::shared_ptr p_Cxxx;
2004年04月19 - 在先前的讨论中,发现在vector中存放指针确实是存在一定的隐患,所以打算使用 boost::shared_ptr,如果运行环境是vc6,那如何才能把boost::shared_ptr引入进来?另外大家能否介绍一下介绍boost的资料和书籍,谢谢大家
9 boost :: shared_ptr和std :: shared_ptr的同居 - Cohabitation of boost::shared_ptr and std::shared_ptr
2012年09月07 - it into a boost::shared_ptr. 我想在某些时候使用boost :: log,但是我不能将std :: shared_ptr作为参数传递,因为编译器(VS2010)无法将其转换为boost :: shared_ptr。 I don't really like the fact
10 boost::shared_ptr到std: shared_ptr的转换? - Conversion from boost::shared_ptr to std::shared_ptr?
2011年06月13 - I got a library that internally uses Boost's version of shared_ptr and exposes only those. For my application, I'd like to use std::shared_ptr

 
© 2014-2018 ITdaan.com 粤ICP备14056181号