KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Questions tagged
smart-pointers
36 questions
Follow Tag
Sort by:
Newest
Votes
Active
13
votes
2
answers
Issue with std::shared_ptr, inheritance, and template argument deduction
c++
templates
inheritance
c++11
smart-pointers
asked 2013-06-03T23:13:41.337
329
votes
18
answers
Is there any use for unique_ptr with array?
c++
c++11
smart-pointers
unique-ptr
asked 2013-05-23T10:35:57.897
12
votes
2
answers
Is there a CUDA smart pointer?
memory
cuda
gpgpu
smart-pointers
asked 2013-05-12T16:16:05.003
9
votes
4
answers
Deleting vector of pointers
c++
pointers
vector
smart-pointers
delete-operator
asked 2013-04-11T07:10:57.500
13
votes
2
answers
C++11 smart pointers and polymorphism
c++
polymorphism
smart-pointers
asked 2013-04-02T10:48:38.217
58
votes
1
answers
Recommended usage of std::unique_ptr
c++
c++11
smart-pointers
unique-ptr
asked 2013-03-18T12:30:16.803
11
votes
1
answers
Exception-safe memory handling with COM
c++
com
atl
smart-pointers
asked 2013-03-14T20:36:56.677
15
votes
2
answers
How to compile c++11 code with android ndk and eclipse?
c++
gcc
c++11
android-ndk
smart-pointers
asked 2013-03-07T11:04:58.790
19
votes
1
answers
unique_ptr VS auto_ptr
c++
c++11
smart-pointers
asked 2012-11-20T20:29:53.297
36
votes
2
answers
unique_ptr<T> lambda custom deleter for array specialization
c++
lambda
c++11
smart-pointers
unique-ptr
asked 2012-04-25T15:40:38.083
13
votes
3
answers
What happens if an object held by a smart pointer gets deleted elsewhere?
c++
qt
smart-pointers
asked 2012-03-02T23:13:10.163
11
votes
2
answers
Mixing C++ and Objective-C
c++
objective-c
boost
cocos2d-iphone
smart-pointers
asked 2011-11-17T18:12:29.917
32
votes
4
answers
How to check memory allocation failures with new operator?
c++
memory-management
smart-pointers
asked 2011-07-26T16:10:28.863
62
votes
2
answers
Do smart pointers work with arrays allocated using new T[]?
c++
c++11
new-operator
smart-pointers
unique-ptr
asked 2011-07-15T21:44:16.047
87
votes
7
answers
When should I use raw pointers over smart pointers?
c++
pointers
boost
smart-pointers
asked 2011-07-13T07:44:14.233
67
votes
2
answers
How to get the Object being pointed by a shared pointer?
c++
shared-ptr
shared
smart-pointers
asked 2011-06-27T11:12:02.183
30
votes
4
answers
boost Shared_pointer NULL
c++
boost
shared-ptr
smart-pointers
asked 2011-04-10T08:10:51.577
16
votes
4
answers
Is there any reason to use auto_ptr?
c++
stl
smart-pointers
auto-ptr
asked 2010-12-29T12:40:01.807
9
votes
2
answers
enable_shared_from_this (c++0x): what am I doing wrong?
c++
c++11
shared-ptr
smart-pointers
asked 2010-12-13T10:48:38.520
13
votes
1
answers
Some questions about using CComPtr (when use Release()? Can I return CComPtr?, ...)
c++
com
smart-pointers
bho
asked 2010-11-26T10:51:44.097
104
votes
3
answers
How is it possible (if it is) to implement shared_ptr without requiring polymorphic classes to have virtual destructor?
c++
destructor
smart-pointers
asked 2010-10-10T09:41:01.797
12
votes
1
answers
Do boost::shared_ptr<T> and boost::shared_ptr<const T> share the reference count?
c++
boost
shared-ptr
smart-pointers
asked 2010-09-30T07:04:41.450
108
votes
4
answers
Where is shared_ptr?
c++
boost
c++11
shared-ptr
smart-pointers
asked 2010-05-27T02:58:31.717
11
votes
7
answers
Smart pointers - cases where they cannot replace raw pointers
c++
smart-pointers
asked 2010-04-07T14:17:13.443
88
votes
4
answers
Is auto_ptr deprecated?
c++
standards
smart-pointers
auto-ptr
unique-ptr
asked 2010-03-08T19:32:40.587
17
votes
5
answers
Questions on usages of shared_ptr - C++
c++
smart-pointers
shared-ptr
asked 2010-01-27T05:46:08.847
33
votes
9
answers
best practice when returning smart pointers
c++
boost
smart-pointers
asked 2009-06-10T11:12:33.817
62
votes
9
answers
Smart pointers/safe memory management for C?
c
memory
pointers
c99
smart-pointers
asked 2009-04-28T21:06:17.677
55
votes
6
answers
How to enable_shared_from_this of both parent and derived
c++
boost
smart-pointers
asked 2009-03-18T06:25:28.673
12
votes
5
answers
STL class for reference-counted pointers?
c++
stl
smart-pointers
reference-counting
asked 2009-03-17T06:46:20.867
69
votes
3
answers
Getting a normal ptr from boost::shared_ptr?
c++
boost
smart-pointers
shared-ptr
asked 2009-02-02T22:01:46.903
12
votes
9
answers
What is the best way to implement smart pointers in C++?
c++
smart-pointers
c++03
raii
reference-counting
asked 2009-02-02T16:33:14.677
24
votes
3
answers
What's the difference between BSTR and _bstr_t?
c++
com
smart-pointers
asked 2008-12-04T17:37:04.787
9
votes
7
answers
Replacing auto_ptr in VC++ 8
c++
smart-pointers
asked 2008-11-06T21:26:27.597
26
votes
8
answers
What's the best signature for clone() in C++?
c++
clone
smart-pointers
covariant-return-types
asked 2008-11-03T20:32:24.730
19
votes
5
answers
Idiomatic use of std::auto_ptr or only use shared_ptr?
c++
coding-style
smart-pointers
tr1
asked 2008-10-13T08:56:56.480