We are committed to provide service 24 X 7

Deals, Shopping, Training, Tools

32
813.575,45

Cart

Quantity 19.461,60

Tag: Deletor

C++11 Smart Pointer – Part 2: shared_ptr and Custom Deletor

In this article we will discuss how to use custom deleter with std::shared_ptr. When a shared_ptr object goes out of scope, its destructor is called. Inside its destructor it decrements the reference count by 1 and if new value of reference count is 0 then it deletes the associated raw pointer. Advertisements To delete the …

C++11 Smart Pointer – Part 2: shared_ptr and Custom DeletorRead More

32
813.575,45

Cart

Quantity 19.461,60