<?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[Rückgabewert via Exception]]></title><description><![CDATA[<p>Ist das hier langsamer als ein normales &quot;return&quot;?</p>
<pre><code class="language-cpp">void add(int x, int y) throw(int)
{
    throw x + y;
}

try
{
    add(17, 4);
}
catch(int result)
{
    // ...
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/192339/rückgabewert-via-exception</link><generator>RSS for Node</generator><lastBuildDate>Sun, 27 Sep 2026 11:49:52 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/192339.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 13 Sep 2007 08:29:15 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Rückgabewert via Exception on Thu, 13 Sep 2007 08:29:42 GMT]]></title><description><![CDATA[<p>Ist das hier langsamer als ein normales &quot;return&quot;?</p>
<pre><code class="language-cpp">void add(int x, int y) throw(int)
{
    throw x + y;
}

try
{
    add(17, 4);
}
catch(int result)
{
    // ...
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1364467</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1364467</guid><dc:creator><![CDATA[phalanx-fanboy]]></dc:creator><pubDate>Thu, 13 Sep 2007 08:29:42 GMT</pubDate></item><item><title><![CDATA[Reply to Rückgabewert via Exception on Thu, 13 Sep 2007 08:31:37 GMT]]></title><description><![CDATA[<p>ja. exceptions sind nebenbei kein ersatz für rückgabewerte sondern sollen vor allem einen anderen programmverlauf für selten auftretenden probleme erzeugen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1364471</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1364471</guid><dc:creator><![CDATA[ghorst]]></dc:creator><pubDate>Thu, 13 Sep 2007 08:31:37 GMT</pubDate></item><item><title><![CDATA[Reply to Rückgabewert via Exception on Thu, 13 Sep 2007 08:57:38 GMT]]></title><description><![CDATA[<p>Schau dir zu dem Thema mal effective C++ an, da wird dir erklaert, dass Exception auf Deutsch &quot;Ausnahme&quot; heisst und wirklich nur in Ausnahmefaellen verwendet werden sollte.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1364488</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1364488</guid><dc:creator><![CDATA[pumuckl]]></dc:creator><pubDate>Thu, 13 Sep 2007 08:57:38 GMT</pubDate></item></channel></rss>