<?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[== nicht für std::string überladen?]]></title><description><![CDATA[<p>hi wie kann es sein, dass ich bei folgenden code die warnung</p>
<blockquote>
<p>main.cpp(30) : error C2678: Binärer Operator '==': Es konnte kein Operator gefunden werden, der einen linksseitigen Operanden vom Typ 'std::string' akzeptiert (oder keine geeignete Konvertierung möglich)</p>
</blockquote>
<p>bekomme?</p>
<pre><code class="language-cpp">#include &lt;iostream&gt;

using namespace std;

int main()
{
	std::string s(&quot;Bla&quot;);
	if (s == &quot;Bla&quot;);
	return 0;
}
</code></pre>
<p>danke für eure mühen</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/159293/nicht-für-std-string-überladen</link><generator>RSS for Node</generator><lastBuildDate>Thu, 10 Sep 2026 12:45:32 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/159293.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 13 Sep 2006 16:02:41 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to == nicht für std::string überladen? on Wed, 13 Sep 2006 16:02:41 GMT]]></title><description><![CDATA[<p>hi wie kann es sein, dass ich bei folgenden code die warnung</p>
<blockquote>
<p>main.cpp(30) : error C2678: Binärer Operator '==': Es konnte kein Operator gefunden werden, der einen linksseitigen Operanden vom Typ 'std::string' akzeptiert (oder keine geeignete Konvertierung möglich)</p>
</blockquote>
<p>bekomme?</p>
<pre><code class="language-cpp">#include &lt;iostream&gt;

using namespace std;

int main()
{
	std::string s(&quot;Bla&quot;);
	if (s == &quot;Bla&quot;);
	return 0;
}
</code></pre>
<p>danke für eure mühen</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1136790</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1136790</guid><dc:creator><![CDATA[wtfffffffff]]></dc:creator><pubDate>Wed, 13 Sep 2006 16:02:41 GMT</pubDate></item><item><title><![CDATA[Reply to == nicht für std::string überladen? on Wed, 13 Sep 2006 16:09:25 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>Hilft denn ein #include &lt;string&gt; ?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1136800</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1136800</guid><dc:creator><![CDATA[Braunstein]]></dc:creator><pubDate>Wed, 13 Sep 2006 16:09:25 GMT</pubDate></item><item><title><![CDATA[Reply to == nicht für std::string überladen? on Wed, 13 Sep 2006 16:10:16 GMT]]></title><description><![CDATA[<p>ich verwende ein neues plattform sdk von microsoft + einen ms compiler</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1136801</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1136801</guid><dc:creator><![CDATA[wtfffffffff]]></dc:creator><pubDate>Wed, 13 Sep 2006 16:10:16 GMT</pubDate></item><item><title><![CDATA[Reply to == nicht für std::string überladen? on Wed, 13 Sep 2006 16:11:06 GMT]]></title><description><![CDATA[<p>autsch <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f636.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_without_mouth"
      title=":X"
      alt="😶"
    /><br />
danke für die hilfe</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1136802</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1136802</guid><dc:creator><![CDATA[wtfffffffff]]></dc:creator><pubDate>Wed, 13 Sep 2006 16:11:06 GMT</pubDate></item><item><title><![CDATA[Reply to == nicht für std::string überladen? on Wed, 13 Sep 2006 16:14:26 GMT]]></title><description><![CDATA[<p>wtfffffffff schrieb:</p>
<blockquote>
<p>hi wie kann es sein, dass ich bei folgenden code die warnung<br />
...<br />
bekomme?<br />
...</p>
</blockquote>
<p>Hi,</p>
<p>gar nicht !<br />
Du bekommst nämlich keine &quot;Warnung&quot;, sondern der Compiler bricht mit einer Fehlermeldung ab. <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="😉"
    /><br />
...</p>
<p>Gruß,</p>
<p>Simon2.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1136803</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1136803</guid><dc:creator><![CDATA[Simon2]]></dc:creator><pubDate>Wed, 13 Sep 2006 16:14:26 GMT</pubDate></item><item><title><![CDATA[Reply to == nicht für std::string überladen? on Wed, 13 Sep 2006 16:41:38 GMT]]></title><description><![CDATA[<p>Da wollte ich gerade auf deinen Text was antworten, da löscht du ihn auch schon. <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="😉"
    /> (21.3.7.2 2)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1136822</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1136822</guid><dc:creator><![CDATA[Braunstein]]></dc:creator><pubDate>Wed, 13 Sep 2006 16:41:38 GMT</pubDate></item><item><title><![CDATA[Reply to == nicht für std::string überladen? on Thu, 14 Sep 2006 07:54:37 GMT]]></title><description><![CDATA[<p>Braunstein schrieb:</p>
<blockquote>
<p>Da wollte ich gerade auf deinen Text was antworten, da löscht du ihn auch schon. <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="😉"
    /> (21.3.7.2 2)</p>
</blockquote>
<p>Tja, &quot;manchmal, aber wirklich nur manchmal, haben Programmierer ein kleines bischen Haue gern ....&quot; und gestern war eben nicht &quot;manchmal&quot; <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="😉"
    /><br />
Gestern war &quot;öfter&quot;; wie in &quot;Leider schreibe ich öfter schneller als ich denke&quot;.</p>
<p>Gruß,</p>
<p>Simon2.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1137041</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1137041</guid><dc:creator><![CDATA[Simon2]]></dc:creator><pubDate>Thu, 14 Sep 2006 07:54:37 GMT</pubDate></item></channel></rss>