<?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[Probleme mit decltype und typedefs]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich verwende MS VisualStudio 2010 und wollte decltype wie folgt verwenden.</p>
<pre><code class="language-cpp">std::string s(&quot;&quot;);
decltype(s)::size_type i;
</code></pre>
<p>Der Compiler gibt die Fehlermeldung aus</p>
<p>error C2039: 'size_type': Ist kein Element von 'global namespace'</p>
<p>Wenn ich mir die englische Seite zu decltype auf Wikipedia <a href="http://en.wikipedia.org/wiki/Decltype" rel="nofollow">http://en.wikipedia.org/wiki/Decltype</a> ansehe, sollte es aber funktionieren.</p>
<p>Meine Frage ist: Geht sowas nur bei MS nicht oder was mache ich falsch</p>
<p>Gruss<br />
Ludger</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/308050/probleme-mit-decltype-und-typedefs</link><generator>RSS for Node</generator><lastBuildDate>Thu, 06 Aug 2026 06:05:01 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/308050.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 13 Sep 2012 11:14:41 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Probleme mit decltype und typedefs on Thu, 13 Sep 2012 11:14:41 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich verwende MS VisualStudio 2010 und wollte decltype wie folgt verwenden.</p>
<pre><code class="language-cpp">std::string s(&quot;&quot;);
decltype(s)::size_type i;
</code></pre>
<p>Der Compiler gibt die Fehlermeldung aus</p>
<p>error C2039: 'size_type': Ist kein Element von 'global namespace'</p>
<p>Wenn ich mir die englische Seite zu decltype auf Wikipedia <a href="http://en.wikipedia.org/wiki/Decltype" rel="nofollow">http://en.wikipedia.org/wiki/Decltype</a> ansehe, sollte es aber funktionieren.</p>
<p>Meine Frage ist: Geht sowas nur bei MS nicht oder was mache ich falsch</p>
<p>Gruss<br />
Ludger</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2250903</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2250903</guid><dc:creator><![CDATA[Acho]]></dc:creator><pubDate>Thu, 13 Sep 2012 11:14:41 GMT</pubDate></item><item><title><![CDATA[Reply to Probleme mit decltype und typedefs on Thu, 13 Sep 2012 11:24:27 GMT]]></title><description><![CDATA[<p><a href="http://www.c-plusplus.net/forum/291806" rel="nofollow">http://www.c-plusplus.net/forum/291806</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2250910</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2250910</guid><dc:creator><![CDATA[Nexus]]></dc:creator><pubDate>Thu, 13 Sep 2012 11:24:27 GMT</pubDate></item><item><title><![CDATA[Reply to Probleme mit decltype und typedefs on Thu, 13 Sep 2012 11:37:54 GMT]]></title><description><![CDATA[<p>Danke,</p>
<p>das erklärt es dann. Kann damit auch gut leben.</p>
<p>Gruss<br />
Ludger.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2250919</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2250919</guid><dc:creator><![CDATA[Achso]]></dc:creator><pubDate>Thu, 13 Sep 2012 11:37:54 GMT</pubDate></item></channel></rss>