---
title: "#smart-pointer articles | Hashnode"
description: "Explore 9 articles tagged #smart-pointer on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/smart-pointer"
---

Tag

# #smart-pointer

9 posts · 0 followers

[muhammad hassan](https://hashnode.com/@muhamadhassan) · [May 2, 2025](https://hashnode.com/posts/a-complete-guide-to-smart-pointers-in-c/68151ced0cc24469ab20a93f)

### [A Complete Guide to Smart Pointers in C++](https://muhamadhassan.hashnode.dev/a-complete-guide-to-smart-pointers-in-c?utm_source=hashnode&utm_medium=feed)

what is the Smart Pointers smart pointers are wrapper classes that was introduced in c++11 but what is the difference between smart pointers and classic pointers , the main difference between smart pointers and raw pointers is memory management and r...

3 min read · [muhamadhassan.hashnode.dev](https://muhamadhassan.hashnode.dev/a-complete-guide-to-smart-pointers-in-c?utm_source=hashnode&utm_medium=feed)

[Yelyzaveta Dymchenko](https://hashnode.com/@dymchenko) · [Nov 25, 2024](https://hashnode.com/posts/self-referential-structs-in-rust-memory-allocation-explained/6744a33dd959cabf8d17510f)

### [Self-Referential Structs in Rust: Memory Allocation Explained](https://dymchenko.hashnode.dev/self-referential-structs-in-rust-memory-allocation-explained?utm_source=hashnode&utm_medium=feed)

Introduction to Self-Referential Structs Self-referential structs are structures where one or more fields in the struct contain references to another instance of the same struct type. This pattern is common in scenarios like creating linked data stru...

3 min read · [dymchenko.hashnode.dev](https://dymchenko.hashnode.dev/self-referential-structs-in-rust-memory-allocation-explained?utm_source=hashnode&utm_medium=feed)

[Learn CPlusPlus](https://hashnode.com/@LearnCPlusPlus) · [May 20, 2024](https://hashnode.com/posts/an-introduction-to-smart-pointers-by-learn-cplusplus/664b3cf042797946eadda3de)

### [An Introduction to Smart Pointers by Learn CPlusPlus](https://learncplusplus.hashnode.dev/an-introduction-to-smart-pointers-by-learn-cplusplus?utm_source=hashnode&utm_medium=feed)

A smart pointer is an advanced pointer in programming that automatically manages memory and resource allocation. Unlike traditional pointers, smart pointers handle object destruction when the object is no longer in use, preventing memory leaks and da...

1 min read · [learncplusplus.hashnode.dev](https://learncplusplus.hashnode.dev/an-introduction-to-smart-pointers-by-learn-cplusplus?utm_source=hashnode&utm_medium=feed)

[Ankan Roy](https://hashnode.com/@fokir) · [May 13, 2024](https://hashnode.com/posts/pointers-memory/664247e3ff68c88328c0b405)

### [Pointers & Memory](https://0hmx.hashnode.dev/pointers-memory?utm_source=hashnode&utm_medium=feed)

it's just an address, a way to locate where something that is stored in your computer's memory. Just like GPS helps you find your way around town, pointers help your program find its way around memory. There are three main operators &(ampersand) give...

4 min read · [0hmx.hashnode.dev](https://0hmx.hashnode.dev/pointers-memory?utm_source=hashnode&utm_medium=feed)

[Learn CPlusPlus](https://hashnode.com/@LearnCPlusPlus) · [Mar 15, 2024](https://hashnode.com/posts/smart-pointer-learn-cplusplus/65f435707e25f280e371eeb0)

### [Smart Pointer | Learn CPlusPlus](https://learncplusplus.hashnode.dev/smart-pointer-learn-cplusplus?utm_source=hashnode&utm_medium=feed)

A smart pointer in C++ is a class that wraps a raw pointer and provides additional functionalities for memory management. Unlike raw pointers, which require manual memory allocation and deallocation, smart pointers automatically manage the memory all...

1 min read · [learncplusplus.hashnode.dev](https://learncplusplus.hashnode.dev/smart-pointer-learn-cplusplus?utm_source=hashnode&utm_medium=feed)

[Raine](https://hashnode.com/@RaineYang) · [Dec 20, 2023](https://hashnode.com/posts/rust-learning-note-smart-pointer/65832d57c6cc9058bf27cd9d)

### [Rust Learning Note: Smart Pointer](https://raine-yang.com/rust-learning-note-smart-pointer?utm_source=hashnode&utm_medium=feed)

This article is a summary of Chapter 4.4 in Rust Course (course.rs) Box<T> Box is used to allocate a value in the heap, and creates a pointer on the stack pointing to the value. It has these common uses: 1 Allocate values on the heap Using Box, we ca...

9 min read · [raine-yang.com](https://raine-yang.com/rust-learning-note-smart-pointer?utm_source=hashnode&utm_medium=feed)

[Aayush Verma](https://hashnode.com/@AlphaVictor) · [Oct 9, 2023](https://hashnode.com/posts/memory-management-in-c/65242bd929db423bda1ebe0a)

### [Memory Management in C++](https://alphavictor.hashnode.dev/memory-management-in-c?utm_source=hashnode&utm_medium=feed)

Managing memory is very crucial for stable and efficient C++ applications. Unlike Java, Python or Javascript which automatically identify and dispose of unused memory, making life easier for developers, C++ lack this capability. This is possible due ...

3 min read · [alphavictor.hashnode.dev](https://alphavictor.hashnode.dev/memory-management-in-c?utm_source=hashnode&utm_medium=feed)

[Aryan K](https://hashnode.com/@spaciouscoder78) · [May 14, 2023](https://hashnode.com/posts/garbage-collection-in-cpp/646074d7ab15b861c1ac6ce2)

### [Garbage Collection In C++](https://spaciouscoder78.hashnode.dev/garbage-collection-in-cpp?utm_source=hashnode&utm_medium=feed)

Today we'll explore garbage collection in cpp, something that was introduced recently in 2011.

3 min read · [spaciouscoder78.hashnode.dev](https://spaciouscoder78.hashnode.dev/garbage-collection-in-cpp?utm_source=hashnode&utm_medium=feed)

[qilingzhao](https://hashnode.com/@Zhao70) · [Jul 9, 2022](https://hashnode.com/posts/cpp-smart-pointer/62c93878bffc4694f5bc1c70)

### [C++智能指针](https://qilingzhao.com/cpp-smart-pointer?utm_source=hashnode&utm_medium=feed)

std::unique\_ptr 对于独占资源(exclusive-ownership resource)使用std::unique\_ptr，它禁止和其他智能指针共享对象 使用 与std::shared\_ptr只有单个对象形式不同, std::unique\_ptr有两种形式， 对于单个对象(std::unique\_ptr<T>), 对于数组(std::unique\_ptr<T\[\]>), 对于解引用操作符(operator\*和operator->)对于单个对象专有。 std::unique\_ptr<...

2 min read · [qilingzhao.com](https://qilingzhao.com/cpp-smart-pointer?utm_source=hashnode&utm_medium=feed)
