<?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[Welche C++11 Features verwendet ihr häufig?]]></title><description><![CDATA[<p>Welche C++11 Features verwendet ihr häufig?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/324536/welche-c-11-features-verwendet-ihr-häufig</link><generator>RSS for Node</generator><lastBuildDate>Tue, 14 Jul 2026 08:40:39 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/324536.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 21 Mar 2014 06:43:01 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Welche C++11 Features verwendet ihr häufig? on Fri, 21 Mar 2014 06:43:01 GMT]]></title><description><![CDATA[<p>Welche C++11 Features verwendet ihr häufig?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2390099</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2390099</guid><dc:creator><![CDATA[cppölf]]></dc:creator><pubDate>Fri, 21 Mar 2014 06:43:01 GMT</pubDate></item><item><title><![CDATA[Reply to Welche C++11 Features verwendet ihr häufig? on Fri, 21 Mar 2014 06:49:12 GMT]]></title><description><![CDATA[<p><code>static_assert</code><br />
<code>nullptr</code></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2390100</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2390100</guid><dc:creator><![CDATA[Fytch]]></dc:creator><pubDate>Fri, 21 Mar 2014 06:49:12 GMT</pubDate></item><item><title><![CDATA[Reply to Welche C++11 Features verwendet ihr häufig? on Fri, 21 Mar 2014 06:54:30 GMT]]></title><description><![CDATA[<p>range based for loops</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2390102</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2390102</guid><dc:creator><![CDATA[volkard]]></dc:creator><pubDate>Fri, 21 Mar 2014 06:54:30 GMT</pubDate></item><item><title><![CDATA[Reply to Welche C++11 Features verwendet ihr häufig? on Fri, 21 Mar 2014 17:57:11 GMT]]></title><description><![CDATA[<p>move (&lt;- Mit großem Abstand vor allem anderen)<br />
Und dann so ziemlich alles was VS 2013 unterstützt: Lambdas, auto, static_assert, nullptr, variadic templates, ...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2390103</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2390103</guid><dc:creator><![CDATA[cooky451]]></dc:creator><pubDate>Fri, 21 Mar 2014 17:57:11 GMT</pubDate></item><item><title><![CDATA[Reply to Welche C++11 Features verwendet ihr häufig? on Fri, 21 Mar 2014 07:08:14 GMT]]></title><description><![CDATA[<p>Nichts, außer zum Üben, da vom Chef verboten.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2390104</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2390104</guid><dc:creator><![CDATA[Braunstein]]></dc:creator><pubDate>Fri, 21 Mar 2014 07:08:14 GMT</pubDate></item><item><title><![CDATA[Reply to Welche C++11 Features verwendet ihr häufig? on Fri, 21 Mar 2014 12:12:52 GMT]]></title><description><![CDATA[<p>auto, lambdas, nullptr</p>
<p>Edit:<br />
ging vergessen: range based for-loop</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2390118</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2390118</guid><dc:creator><![CDATA[theta]]></dc:creator><pubDate>Fri, 21 Mar 2014 12:12:52 GMT</pubDate></item><item><title><![CDATA[Reply to Welche C++11 Features verwendet ihr häufig? on Fri, 21 Mar 2014 08:04:09 GMT]]></title><description><![CDATA[<p>Och, ich bediene mich da hier und da Dingen, von denen ich weiß, dass die populären Compiler, die vor 2 Jahren aktuell waren, das schon konnten. Das ist so meine persönliche Schmerzgrenze. Wenn das Teil älter als 2 Jahre ist, kann ich erwarten, dass man sich 'ne aktuellere Version installiert.</p>
<p><code>&amp;&amp;</code> (aber nicht als Ref-Qualifier)<br />
<code>auto</code><br />
<code>decltype</code><br />
<code>-&gt;</code> (late-specified return type)<br />
<code>static_assert</code><br />
<code>std::enable_if</code> und was sonst noch so in <code>&lt;type_traits&gt;</code> drin ist<br />
<code>std::unique_ptr</code><br />
<code>std::shared_ptr</code><br />
<code>std::tuple</code><br />
<code>std::unordered_map</code><br />
Lambdas</p>
<p>Aber das kann ich mir auch erlauben, weil wir ein sehr kleines Team in einer Forschungseinrichtung sind, dessen Software hauptsächlich &quot;in-house&quot; genutzt wird. Die Hauptsache ist, dass man das für Windows und Linux kompiliert bekommt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2390125</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2390125</guid><dc:creator><![CDATA[kkaw]]></dc:creator><pubDate>Fri, 21 Mar 2014 08:04:09 GMT</pubDate></item><item><title><![CDATA[Reply to Welche C++11 Features verwendet ihr häufig? on Fri, 21 Mar 2014 08:27:23 GMT]]></title><description><![CDATA[<p>constexpr<br />
nullptr<br />
Variadic Templates<br />
Move-Semantics<br />
Lambdas<br />
override<br />
Delegating Constructors</p>
<p>Manchmal auch decltype und auto.<br />
Edit: Und std::initializer_list (<strong>sehr</strong> praktisch)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2390131</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2390131</guid><dc:creator><![CDATA[Singender Holzkübel]]></dc:creator><pubDate>Fri, 21 Mar 2014 08:27:23 GMT</pubDate></item><item><title><![CDATA[Reply to Welche C++11 Features verwendet ihr häufig? on Fri, 21 Mar 2014 08:29:20 GMT]]></title><description><![CDATA[<p>So ziemlich alles, da kann man auflisten:<br />
- inheriting / delegating ctors</p>
<ul>
<li><code>nullptr</code> , <code>static_assert</code><br />
- alles aus allen Bibliotheksheadern, falls benötigt.<br />
- variadic templates, perfect forwarding mit URefs<br />
- Move-Semantik natürlich<br />
- Und das öfteste: <code>auto</code> als <em>type-specifier</em>, auch evt. <code>decltype(auto)</code> .<br />
- Selbstverständlich range-based for, das ist eine Augenweide.<br />
- Noch viel weiteres.</li>
</ul>
<p>Und was benutzt ihr aus <strong>C++1y</strong>?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2390133</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2390133</guid><dc:creator><![CDATA[Columbo]]></dc:creator><pubDate>Fri, 21 Mar 2014 08:29:20 GMT</pubDate></item><item><title><![CDATA[Reply to Welche C++11 Features verwendet ihr häufig? on Fri, 21 Mar 2014 08:28:03 GMT]]></title><description><![CDATA[<p>Singender Holzkübel schrieb:</p>
<blockquote>
<p>Und std::initializer_list (<strong>sehr</strong> praktisch)</p>
</blockquote>
<p>Wofür denn das?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2390134</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2390134</guid><dc:creator><![CDATA[Columbo]]></dc:creator><pubDate>Fri, 21 Mar 2014 08:28:03 GMT</pubDate></item><item><title><![CDATA[Reply to Welche C++11 Features verwendet ihr häufig? on Fri, 21 Mar 2014 08:36:50 GMT]]></title><description><![CDATA[<p>Arcoth schrieb:</p>
<blockquote>
<p>Singender Holzkübel schrieb:</p>
<blockquote>
<p>Und std::initializer_list (<strong>sehr</strong> praktisch)</p>
</blockquote>
<p>Wofür denn das?</p>
</blockquote>
<p>ich vermute, damit er seine eigenen klassen wie aggregate initialisieren kann.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2390135</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2390135</guid><dc:creator><![CDATA[Fytch]]></dc:creator><pubDate>Fri, 21 Mar 2014 08:36:50 GMT</pubDate></item><item><title><![CDATA[Reply to Welche C++11 Features verwendet ihr häufig? on Fri, 21 Mar 2014 08:38:50 GMT]]></title><description><![CDATA[<p>Arcoth schrieb:</p>
<blockquote>
<p>Singender Holzkübel schrieb:</p>
<blockquote>
<p>Und std::initializer_list (<strong>sehr</strong> praktisch)</p>
</blockquote>
<p>Wofür denn das?</p>
</blockquote>
<p>Diverse Initialisierungen.</p>
<p>Arcoth schrieb:</p>
<blockquote>
<p>Und was benutzt ihr aus <strong>C++1y</strong>?</p>
</blockquote>
<p>constexpr <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2390136</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2390136</guid><dc:creator><![CDATA[Singender Holzkübel]]></dc:creator><pubDate>Fri, 21 Mar 2014 08:38:50 GMT</pubDate></item><item><title><![CDATA[Reply to Welche C++11 Features verwendet ihr häufig? on Fri, 21 Mar 2014 08:39:56 GMT]]></title><description><![CDATA[<p>Arcoth schrieb:</p>
<blockquote>
<p>Und was benutzt ihr aus <strong>C++1y</strong>?</p>
</blockquote>
<p>Nichts.</p>
<p>Aber ich freue mich schon ein bisschen auf polymorphe Lambdas und Return-Type Deduction für &quot;normale&quot; Funktionen. Letzteres ist ja besonders für Template-lastigen Code interessant. Damit könnte ich mir <a href="http://code.google.com/p/dynad/" rel="nofollow">hier</a> z.B. die nervigen &quot;-&gt;decltype(...)&quot; sparen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2390137</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2390137</guid><dc:creator><![CDATA[kkaw]]></dc:creator><pubDate>Fri, 21 Mar 2014 08:39:56 GMT</pubDate></item><item><title><![CDATA[Reply to Welche C++11 Features verwendet ihr häufig? on Fri, 21 Mar 2014 08:40:37 GMT]]></title><description><![CDATA[<p>Singender Holzkübel schrieb:</p>
<blockquote>
<p>Arcoth schrieb:</p>
<blockquote>
<p>Und was benutzt ihr aus <strong>C++1y</strong>?</p>
</blockquote>
<p>constexpr <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
</blockquote>
<p>das gibt es schon in c++11.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2390138</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2390138</guid><dc:creator><![CDATA[Fytch]]></dc:creator><pubDate>Fri, 21 Mar 2014 08:40:37 GMT</pubDate></item><item><title><![CDATA[Reply to Welche C++11 Features verwendet ihr häufig? on Fri, 21 Mar 2014 08:41:58 GMT]]></title><description><![CDATA[<p>Gibts da eigentlich irgendwo eine nette Übersicht für C++1Y Features?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2390139</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2390139</guid><dc:creator><![CDATA[kkaw]]></dc:creator><pubDate>Fri, 21 Mar 2014 08:41:58 GMT</pubDate></item><item><title><![CDATA[Reply to Welche C++11 Features verwendet ihr häufig? on Fri, 21 Mar 2014 08:43:19 GMT]]></title><description><![CDATA[<p>asfdlol schrieb:</p>
<blockquote>
<p>Singender Holzkübel schrieb:</p>
<blockquote>
<p>Arcoth schrieb:</p>
<blockquote>
<p>Und was benutzt ihr aus <strong>C++1y</strong>?</p>
</blockquote>
<p>constexpr <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
</blockquote>
<p>das gibt es schon in c++11.</p>
</blockquote>
<p>Ja, aber nicht <a href="http://en.wikipedia.org/wiki/C++14#Relaxed_constexpr_restrictions" rel="nofollow">so</a>!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2390141</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2390141</guid><dc:creator><![CDATA[Singender Holzkübel]]></dc:creator><pubDate>Fri, 21 Mar 2014 08:43:19 GMT</pubDate></item><item><title><![CDATA[Reply to Welche C++11 Features verwendet ihr häufig? on Fri, 21 Mar 2014 09:26:59 GMT]]></title><description><![CDATA[<p>Ich liste hier nur die am häufigsten benutzten C++11-Features auf.</p>
<p>Sprache: Lambda-Ausdrücke, <code>auto</code> , Range-Based For, Move-Semantik, <code>nullptr</code></p>
<p>Bibliothek: <code>function</code> , <code>unique_ptr</code></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2390154</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2390154</guid><dc:creator><![CDATA[Nexus]]></dc:creator><pubDate>Fri, 21 Mar 2014 09:26:59 GMT</pubDate></item><item><title><![CDATA[Reply to Welche C++11 Features verwendet ihr häufig? on Fri, 21 Mar 2014 09:55:29 GMT]]></title><description><![CDATA[<p>Lambda, move, forward, auto, range based for, sämtliche neuen Methoden von Containern sowie neue Algorithmen, unique_ptr, shared_ptr (eigentlich nur bei dem einen Projekt), nullptr.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2390160</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2390160</guid><dc:creator><![CDATA[Marthog]]></dc:creator><pubDate>Fri, 21 Mar 2014 09:55:29 GMT</pubDate></item><item><title><![CDATA[Reply to Welche C++11 Features verwendet ihr häufig? on Fri, 21 Mar 2014 11:18:13 GMT]]></title><description><![CDATA[<p>nullptr ist einfach toll, lambdas und diverse neue Container-Funktionen. Der Rest taucht mal so hin und wieder auf, wenn ich merke dass man manche Dinge mit C++11 Features übersichtlicher/schneller/schöner/besser lösen kann.^^</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2390172</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2390172</guid><dc:creator><![CDATA[Der Toby]]></dc:creator><pubDate>Fri, 21 Mar 2014 11:18:13 GMT</pubDate></item><item><title><![CDATA[Reply to Welche C++11 Features verwendet ihr häufig? on Fri, 21 Mar 2014 11:40:21 GMT]]></title><description><![CDATA[<p>Sprache: Move-Semantic, auto, variadic templates<br />
Library: unique_ptr, hashmaps</p>
<p>Was ich nicht oder äusserst selten verwende:<br />
initializer_list, shared_ptr, foreach (wozu?), Encoding-Facetten.</p>
<p>Was ich aus C++14 vermisse:<br />
Return-Type-Deduction, polymorphe Lambdas und Concepts.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2390173</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2390173</guid><dc:creator><![CDATA[fgbjaeh]]></dc:creator><pubDate>Fri, 21 Mar 2014 11:40:21 GMT</pubDate></item><item><title><![CDATA[Reply to Welche C++11 Features verwendet ihr häufig? on Fri, 21 Mar 2014 11:44:59 GMT]]></title><description><![CDATA[<p>fgbjaeh schrieb:</p>
<blockquote>
<p>Was ich nicht oder äusserst selten verwende:<br />
... foreach (wozu?)</p>
</blockquote>
<p>Gibt's in C++ ja auch nicht</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2390174</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2390174</guid><dc:creator><![CDATA[manni66]]></dc:creator><pubDate>Fri, 21 Mar 2014 11:44:59 GMT</pubDate></item><item><title><![CDATA[Reply to Welche C++11 Features verwendet ihr häufig? on Fri, 21 Mar 2014 12:09:50 GMT]]></title><description><![CDATA[<p>fgbjaeh schrieb:</p>
<blockquote>
<p>Concepts</p>
</blockquote>
<p>Achja. Das gibt's ja auch noch (irgendwann vielleicht mal).</p>
<p>/me ist froh, dass &quot;concepts&quot; aus dem C++0x draft rausgeflogen ist und freut sich auf ein entschlacktes &quot;concepts lite&quot;.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2390177</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2390177</guid><dc:creator><![CDATA[kkaw]]></dc:creator><pubDate>Fri, 21 Mar 2014 12:09:50 GMT</pubDate></item><item><title><![CDATA[Reply to Welche C++11 Features verwendet ihr häufig? on Fri, 21 Mar 2014 12:49:31 GMT]]></title><description><![CDATA[<p>Ich nutze</p>
<p>`auto</p>
<p>nullptr,</p>
<p>std::function</p>
<p>std::unique_ptr</p>
<p>std::shared_ptr</p>
<p>`</p>
<p>ich habe eine Frage bezüglich std::enable_if&lt;Bool,T&gt;</p>
<p>Also wenn der Bool wahr ist, dann hat die Funktion ein Rückgabewert?</p>
<p>also als beispiel:</p>
<pre><code>#ifndef _BEISPIEL_HPP
#define _BEISPIEL_HPP

#ifdef _NO_EXCEPTIONS
#define _EXAMPLE_ true
#else
#define _EXAMPLE_ false
#endif

...
std::enable_if&lt;_EXAMPLE_,DWORD&gt;::type foo(parameters x)
{
   //DO something
  if(/*ERROR*/)
      #ifdef _NO_EXCEPTIONS_
          return 3;
      #else
         throw &quot;You made an ERROR&quot;;
      #endif

return 0; // wird Ende der Funktion trotzdem ein return gemacht?
}
...

#endif
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/2390179</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2390179</guid><dc:creator><![CDATA[Sepultura]]></dc:creator><pubDate>Fri, 21 Mar 2014 12:49:31 GMT</pubDate></item><item><title><![CDATA[Reply to Welche C++11 Features verwendet ihr häufig? on Fri, 21 Mar 2014 14:14:57 GMT]]></title><description><![CDATA[<blockquote>
<p>Aber ich freue mich schon ein bisschen auf polymorphe Lambdas und Return-Type Deduction für &quot;normale&quot; Funktionen. Letzteres ist ja besonders für Template-lastigen Code interessant.</p>
</blockquote>
<p>Benutze ich beides laengst, den ich habe den neusten GCC- und Clang-Snapshot. Ich habe schon die Angewohnheit, gar keine Rueckgabetypen mehr hinzuschreiben, ausser, ich moechte noch implizit konvertieren. Ist ausserst angenehm, weil so die Redundanz aus dem Typsystem entfernt wird.</p>
<blockquote>
<p>Also wenn der Bool wahr ist, dann hat die Funktion ein Rückgabewert?</p>
</blockquote>
<p>Nein. Falls, und nur falls der <code>bool</code> den Wert <code>true</code> hat, dann hat die Spezialisierung einen Member mit Namen <code>type</code> - das ist ein Typedef auf das zweite Template-Argument. <code>enable_if</code> nutzt man fuer SFINAE, u.a. auch um Funktionen unter bestimten Bedingungen aus dem Overload-Set zu schmeissen. Wenn der bool den Wert false hat, dann ist der Ausdruck <code>std::enable_if&lt;....&gt;::type</code> fehlerhaft. Das ist der Trick. Seit C++11 kann man so etwas fuer Ausdruecke teilweise auch ohne <code>enable_if</code> , mit trailing-return-types und <code>decltype</code> .</p>
<p>Kurz: Macht nur mit Templates Sinn.</p>
<p>Falls du nur einen Compile-time Pruefung auf etwas machen willst, nimm</p>
<pre><code>static_assert( /*eine Bedingung */ false, &quot;Fehlermeldung&quot; );
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/2390185</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2390185</guid><dc:creator><![CDATA[Columbo]]></dc:creator><pubDate>Fri, 21 Mar 2014 14:14:57 GMT</pubDate></item><item><title><![CDATA[Reply to Welche C++11 Features verwendet ihr häufig? on Fri, 21 Mar 2014 14:21:23 GMT]]></title><description><![CDATA[<p>Arcoth schrieb:</p>
<blockquote>
<p>Ich habe schon die Angewohnheit, gar keine Rueckgabetypen mehr hinzuschreiben, ausser, ich moechte noch implizit konvertieren. Ist ausserst angenehm, weil so die Redundanz aus dem Typsystem entfernt wird.</p>
</blockquote>
<p>Hier sehe ich aber ein ähnliches Problem wie bei <code>auto</code> , wenn mit Typinferenz übertrieben wird: Code wird schlechter lesbar. Bei sehr generischem oder templatelastigem Code und in lokal begrenztem Kontext sind solche Features äusserst nützlich, aber für normale Anwendung nicht unbedingt.</p>
<p>Gerade bei Funktionen ist ja die Signatur das API; wenn ich nun die Implementierung anschauen muss, um den Rückgabetyp zu kennen, läuft etwas falsch...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2390186</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2390186</guid><dc:creator><![CDATA[Nexus]]></dc:creator><pubDate>Fri, 21 Mar 2014 14:21:23 GMT</pubDate></item><item><title><![CDATA[Reply to Welche C++11 Features verwendet ihr häufig? on Fri, 21 Mar 2014 14:41:45 GMT]]></title><description><![CDATA[<p>Nexus schrieb:</p>
<blockquote>
<p>Arcoth schrieb:</p>
<blockquote>
<p>Ich habe schon die Angewohnheit, gar keine Rueckgabetypen mehr hinzuschreiben, ausser, ich moechte noch implizit konvertieren. Ist ausserst angenehm, weil so die Redundanz aus dem Typsystem entfernt wird.</p>
</blockquote>
<p>Hier sehe ich aber ein ähnliches Problem wie bei <code>auto</code> , wenn mit Typinferenz übertrieben wird: Code wird schlechter lesbar. Bei sehr generischem oder templatelastigem Code und in lokal begrenztem Kontext sind solche Features äusserst nützlich, aber für normale Anwendung nicht unbedingt.</p>
</blockquote>
<p>Vorallem explodieren dann die Compiler-Fehlermeldungen, wenn was nicht stimmt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2390189</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2390189</guid><dc:creator><![CDATA[froallem]]></dc:creator><pubDate>Fri, 21 Mar 2014 14:41:45 GMT</pubDate></item></channel></rss>