<?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[enable_shared_from_this für alle?]]></title><description><![CDATA[<p>Hallo,</p>
<p>sollte in modernem C++ Code jede Klasse von enable_shared_from_this erben?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/314470/enable_shared_from_this-für-alle</link><generator>RSS for Node</generator><lastBuildDate>Sat, 01 Aug 2026 02:33:35 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/314470.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 03 Mar 2013 14:20:31 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to enable_shared_from_this für alle? on Sun, 03 Mar 2013 14:20:31 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>sollte in modernem C++ Code jede Klasse von enable_shared_from_this erben?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2303892</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2303892</guid><dc:creator><![CDATA[heybro]]></dc:creator><pubDate>Sun, 03 Mar 2013 14:20:31 GMT</pubDate></item><item><title><![CDATA[Reply to enable_shared_from_this für alle? on Sun, 03 Mar 2013 14:38:04 GMT]]></title><description><![CDATA[<p>Nein, das ist nicht notwendig.<br />
Nur wenn eine Klasse in einer Memberfunktion einen shared pointer auf this zurückliefern soll, musst du davon erben.<br />
Siehe auch hier: <a href="http://en.cppreference.com/w/cpp/memory/enable_shared_from_this" rel="nofollow">http://en.cppreference.com/w/cpp/memory/enable_shared_from_this</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2303900</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2303900</guid><dc:creator><![CDATA[Nathan]]></dc:creator><pubDate>Sun, 03 Mar 2013 14:38:04 GMT</pubDate></item></channel></rss>