Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in smart-pointers

Clone pattern for std::shared_ptr in C++

std::weak_ptr: lock or shared_ptr constructor?

If make_shared/make_unique can throw bad_alloc, why is it not a common practice to have a try catch block for it?

boost::ptr_container and std::vector<shared_ptr>

Benefits of using BOOST shared_array over shared_ptr

c++ boost smart-pointers

Changing boost::scoped_ptr to std::unique_ptr

std::shared_ptr operator [] equivalent access

c++ pointers smart-pointers

How to use unique_ptr with std::copy?

Qt: How to use Qt's Smartpointers

c++ qt c++11 smart-pointers

What is the advantage of a unique_ptr over a shared_ptr

How to reduce the implementation code of lots of wrapper classes?

Simple reference counting: smart pointers

Unit testing, mocking and unique_ptr

A simple implementation of Smart Pointer Class

Move Constructor and = operator for Shared Pointer

Are shared_ptr on static objects good?

Cast boost::shared_array<char> to boost::shared_array<const char>

For a data member, is there any difference between dynamically allocating this variable(or not) if the containing object is already in dynamic memory?

c++ stl smart-pointers c++14

change pointer in std::unique_ptr without destroy it

c++ c++11 smart-pointers

SMART vector for RAW pointers in C++11?

c++ c++11 smart-pointers