Questions
Linux
Laravel
Mysql
Ubuntu
Git
Menu
HTML
CSS
JAVASCRIPT
SQL
PYTHON
PHP
BOOTSTRAP
JAVA
JQUERY
R
React
Kotlin
×
Linux
Laravel
Mysql
Ubuntu
Git
New posts in shared-ptr
std::shared_ptr initialization: make_shared<Foo>() vs shared_ptr<T>(new Foo) [duplicate]
Aug 26, 2022
c++
c++11
shared-ptr
smart-pointers
getting a normal ptr from shared_ptr?
Aug 26, 2022
c++
boost
smart-pointers
shared-ptr
shared_from_this causing bad_weak_ptr
Dec 01, 2017
c++
boost
shared-ptr
c++-faq
The cost of passing by shared_ptr
Aug 26, 2022
c++
performance
shared-ptr
Why isn't there a std::shared_ptr<T[]> specialisation?
May 08, 2019
c++
c++11
shared-ptr
Why can't a weak_ptr be constructed from a unique_ptr?
Oct 17, 2022
c++
shared-ptr
smart-pointers
unique-ptr
weak-ptr
Should I switch from using boost::shared_ptr to std::shared_ptr?
Aug 25, 2022
c++
boost
stl
c++11
shared-ptr
static_cast with boost::shared_ptr?
Aug 16, 2022
c++
boost
shared-ptr
static-cast
Why does unique_ptr take two template parameters when shared_ptr only takes one?
Aug 25, 2022
c++
c++11
std
shared-ptr
unique-ptr
How does one downcast a std::shared_ptr?
Aug 18, 2022
c++
c++11
shared-ptr
downcast
C++11 When clearing shared_ptr, should I use reset or set to nullptr?
Aug 18, 2022
c++
c++11
shared-ptr
reset
nullptr
What is the difference between an empty and a null std::shared_ptr in C++?
Aug 17, 2022
c++
c++11
shared-ptr
Example to use shared_ptr?
Aug 17, 2022
c++
boost
vector
shared-ptr
smart-pointers
Passing shared pointers as arguments
Nov 19, 2022
c++
c++11
shared-ptr
c++-faq
Where is shared_ptr?
Aug 16, 2022
c++
boost
c++11
shared-ptr
smart-pointers
Passing shared_ptr<Derived> as shared_ptr<Base>
Aug 16, 2022
c++
casting
c++11
shared-ptr
smart-pointers
Why is shared_ptr<void> legal, while unique_ptr<void> is ill-formed?
Oct 21, 2022
c++
shared-ptr
smart-pointers
unique-ptr
C++ - passing references to std::shared_ptr or boost::shared_ptr
Aug 16, 2022
c++
boost
pass-by-reference
pass-by-value
shared-ptr
std::shared_ptr thread safety explained
Aug 16, 2022
c++
c++11
shared-ptr
« Newer Entries
Older Entries »