花费 3497ms 找到2796545条记录
1 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 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
3 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
4 Boost源码学习---shared_ptr.hpp
2014年09月28 - <Y> const & r, typename boost::detail::sp_enable_if_convertible<Y,T>::type = boost::detail::sp_empty() )#else shared_ptr( shared_ptr
5 What are potential dangers when using boost::shared_ptr?
2009年03月31 - What are some ways you can shoot yourself in the foot when using boost::shared_ptr? In other words, what pitfalls do I have to avoid when I use boost
6 [6]智能指针boost::shared_ptr
2015年01月17 - :template<class Y> shared_ptr(shared_ptr<Y> const & r, element_type * p); // never throws这个函数的在boost的帮助文档中解释为: constructs a shared_ptr
7 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
8 What is shared_ptr's aliasing constructor for?
2014年11月24 - " behavior confusing. Why is it here? What is it for? In what situation would I want this feature? 然后我读了这页(http://www.cplusplus.com/reference/memory/shared_ptr
9 boost shared_ptr计数分析
2013年05月07 - Y> explicit shared_ptr( Y * p ): px( p ), pn( p )// Y must be complete { boost::detail::sp_enable_shared_from_this( this, p, p
10 详解 boost 库智能指针(scoped_ptr<T> 、shared_ptr<T> 、weak_ptr<T> 源码分析)
2018年02月26 - Y> weak_ptr(const shared_ptr<Y> &r); weak_ptr(const weak_ptr &r); template<class Y> weak_ptr &

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