<?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[STL und ihre #defines]]></title><description><![CDATA[<p>hole leute</p>
<p>hat jemand von euch ne ahnung warum man solche konstrukte recht haeufig in der STL findet ? hat das einen bestimmten grund oder was soll der bloedsinn eigendlich ?</p>
<pre><code class="language-cpp">#define _TRY_BEGIN	try {
 #define _CATCH(x)	} catch (x) {
 #define _CATCH_ALL	} catch (...) {
 #define _CATCH_END	}
</code></pre>
<p>Meep Meep</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/188656/stl-und-ihre-defines</link><generator>RSS for Node</generator><lastBuildDate>Fri, 25 Sep 2026 03:11:36 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/188656.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 02 Aug 2007 17:09:31 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to STL und ihre #defines on Thu, 02 Aug 2007 17:09:31 GMT]]></title><description><![CDATA[<p>hole leute</p>
<p>hat jemand von euch ne ahnung warum man solche konstrukte recht haeufig in der STL findet ? hat das einen bestimmten grund oder was soll der bloedsinn eigendlich ?</p>
<pre><code class="language-cpp">#define _TRY_BEGIN	try {
 #define _CATCH(x)	} catch (x) {
 #define _CATCH_ALL	} catch (...) {
 #define _CATCH_END	}
</code></pre>
<p>Meep Meep</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1337517</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1337517</guid><dc:creator><![CDATA[Meep Meep]]></dc:creator><pubDate>Thu, 02 Aug 2007 17:09:31 GMT</pubDate></item><item><title><![CDATA[Reply to STL und ihre #defines on Thu, 02 Aug 2007 17:29:16 GMT]]></title><description><![CDATA[<p>Ich glaube, das ist noch nicht einmal zur &quot;besseren Lesbarkeit&quot; gedacht, sondern weil es flexibler ist. Sollte z.B. das keyword &quot;try&quot; durch &quot;__try&quot; ersetzt werden (oder auf einem anderen System/Compiler so benötigt werden), braucht man einfach nur das define zu ersetzen. So wild rumspekuliert <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f921.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--clown_face"
      title=":clown:"
      alt="🤡"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1337536</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1337536</guid><dc:creator><![CDATA[Badestrand]]></dc:creator><pubDate>Thu, 02 Aug 2007 17:29:16 GMT</pubDate></item><item><title><![CDATA[Reply to STL und ihre #defines on Thu, 02 Aug 2007 17:33:05 GMT]]></title><description><![CDATA[<p>n (nicht ganz ernst von mir gemeinter) VOrschlag wäre, dass das n Pascalprogrammierer geschrieben hat, der sich net von seinen BEGINs und ENDs lösen konnte^^</p>
<p>EDIT://<br />
Badestrandserklärung ist vermutlich nicht so falsch.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1337537</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1337537</guid><dc:creator><![CDATA[Checker*amp*Murckser]]></dc:creator><pubDate>Thu, 02 Aug 2007 17:33:05 GMT</pubDate></item><item><title><![CDATA[Reply to STL und ihre #defines on Thu, 02 Aug 2007 17:45:39 GMT]]></title><description><![CDATA[<p>fast noch schlimmer finde ich folgendes</p>
<pre><code class="language-cpp">#define _BITMASK_OPS(Ty) \
inline Ty&amp; operator&amp;=(Ty&amp; _Left, Ty _Right) \
	{	/* return _Left &amp;= _Right */ \
	_Left = (Ty)((int)_Left &amp; (int)_Right); return _Left; \
	} \
</code></pre>
<p>oder das:</p>
<pre><code class="language-cpp">#define _RERAISE
</code></pre>
<p>da denkt man sich was sich da wohl wichtiges dahinter verstecken mag, dabei ist das nichts. rein gar nichts.<br />
mir sieht die STL teilweise so aus, als wenn da ein fanatischer C programmierer dabei gewesen waere und seinen frusst an die STL benutzer ablassen wollte.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1337554</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1337554</guid><dc:creator><![CDATA[Meep Meep]]></dc:creator><pubDate>Thu, 02 Aug 2007 17:45:39 GMT</pubDate></item><item><title><![CDATA[Reply to STL und ihre #defines on Thu, 02 Aug 2007 17:59:43 GMT]]></title><description><![CDATA[<p>Was soll eigentlich immer dieses &quot;STL&quot;? Wovon redest du? Du zeigst uns hier eine Implementierung. Das ist doch nicht DIE STL. Und selbst wenn, dann frage doch bitte den Implementierer, was er sich dabei gedacht hat. Woher sollen wir das denn bitte wissen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1337559</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1337559</guid><dc:creator><![CDATA[Artchi]]></dc:creator><pubDate>Thu, 02 Aug 2007 17:59:43 GMT</pubDate></item></channel></rss>