<?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[volatile impliziert mutable ? (gcc)]]></title><description><![CDATA[<p>Hallo,</p>
<p>habe eine const Methode in meiner Klasse in der ich eine Memebrvariable zur Referenzzählung ändere. Diese habe ich dann versehentlich als volatile deklariert. Dann hat es kompiliert.<br />
Ist das so vom standard abgedeckt oder compiler spezifisch?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/196172/volatile-impliziert-mutable-gcc</link><generator>RSS for Node</generator><lastBuildDate>Wed, 30 Sep 2026 07:09:21 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/196172.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 26 Oct 2007 09:30:51 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to volatile impliziert mutable ? (gcc) on Fri, 26 Oct 2007 09:30:51 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>habe eine const Methode in meiner Klasse in der ich eine Memebrvariable zur Referenzzählung ändere. Diese habe ich dann versehentlich als volatile deklariert. Dann hat es kompiliert.<br />
Ist das so vom standard abgedeckt oder compiler spezifisch?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1392359</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1392359</guid><dc:creator><![CDATA[templäd]]></dc:creator><pubDate>Fri, 26 Oct 2007 09:30:51 GMT</pubDate></item><item><title><![CDATA[Reply to volatile impliziert mutable ? (gcc) on Fri, 26 Oct 2007 09:40:05 GMT]]></title><description><![CDATA[<p>Bei meinem VC++ 2003 ging es nicht mit volatile - ich hatte mal das mutable-Keyword vergessen und habs einfach mal mit volatile probiert. Schätze also, es ist Compiler-spezifisch oder aber einer unserer setzt den Standard nicht korrekt um..</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1392364</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1392364</guid><dc:creator><![CDATA[Badestrand]]></dc:creator><pubDate>Fri, 26 Oct 2007 09:40:05 GMT</pubDate></item><item><title><![CDATA[Reply to volatile impliziert mutable ? (gcc) on Fri, 26 Oct 2007 10:31:25 GMT]]></title><description><![CDATA[<p>Hallo,<br />
bitte zeig doch mal ein (minimales) Beispiel, dass das beschrieben Verhalten demonstriert.<br />
Sowas:</p>
<pre><code class="language-cpp">class X {
public:
  void y() const { ++x; }
private:
  volatile int x;
};
</code></pre>
<p>sollte jedenfalls nicht fehlerlos übersetzt werden.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1392394</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1392394</guid><dc:creator><![CDATA[HumeSikkins]]></dc:creator><pubDate>Fri, 26 Oct 2007 10:31:25 GMT</pubDate></item><item><title><![CDATA[Reply to volatile impliziert mutable ? (gcc) on Fri, 26 Oct 2007 17:28:15 GMT]]></title><description><![CDATA[<p>nö, volatile impliziert nicht mutable.<br />
was auch immer du da für einen compiler hast, er macht was falsch.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1392685</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1392685</guid><dc:creator><![CDATA[hustbaer]]></dc:creator><pubDate>Fri, 26 Oct 2007 17:28:15 GMT</pubDate></item></channel></rss>