<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Smart Pointers vs Raw Pointers in Modern C++]]></title><description><![CDATA[<p>Hi everyone,</p>
<p>I'm fairly new to C++ coming from a Python background and I'm struggling to understand when to use smart pointers versus raw pointers. I understand the general principle that smart pointers handle memory automatically, but I'm not sure when it's actually appropriate to use a raw pointer in modern C++ and whether there are cases where smart pointers would be overkill or cause issues.</p>
<p>Any practical guidance on how to think about this decision would be really appreciated!</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/355502/smart-pointers-vs-raw-pointers-in-modern-c</link><generator>RSS for Node</generator><lastBuildDate>Mon, 19 Oct 2026 17:24:29 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/355502.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 19 Oct 2026 13:43:34 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Smart Pointers vs Raw Pointers in Modern C++ on Mon, 19 Oct 2026 13:43:34 GMT]]></title><description><![CDATA[<p>Hi everyone,</p>
<p>I'm fairly new to C++ coming from a Python background and I'm struggling to understand when to use smart pointers versus raw pointers. I understand the general principle that smart pointers handle memory automatically, but I'm not sure when it's actually appropriate to use a raw pointer in modern C++ and whether there are cases where smart pointers would be overkill or cause issues.</p>
<p>Any practical guidance on how to think about this decision would be really appreciated!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2625355</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2625355</guid><dc:creator><![CDATA[kavinreed]]></dc:creator><pubDate>Mon, 19 Oct 2026 13:43:34 GMT</pubDate></item></channel></rss>